Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Quazal::qResult *__thiscall Quazal::NameSpace::StreamOut(Quazal::NameSpace *this, Quazal::qResult *a2, struct Quazal::BinaryRepresentation *a3, bool a4)
- {
- Quazal::NameSpace *v4; // ebp
- struct Quazal::BinaryRepresentation *v5; // edi
- Quazal::NameSpaceItem *v6; // esi
- Quazal::DOClassDeclaration *v7; // eax
- Quazal::NameSpaceItem *v8; // eax
- bool v9; // zf
- int v10; // eax
- Quazal::DatasetDeclaration *v11; // eax
- Quazal::Declaration *v12; // eax
- Quazal::PropertyDeclaration *v13; // eax
- Quazal::Variable *v14; // eax
- Quazal::Declaration *v15; // eax
- Quazal::DDLUnitDeclaration *v16; // eax
- Quazal::NameSpaceItem *v17; // eax
- Quazal::Declaration *v18; // eax
- int v20; // [esp+Ch] [ebp-4h]
- v4 = this;
- if ( !a4 )
- Quazal::NameSpace::Clear(this);
- v5 = a3;
- v20 = 0;
- Quazal::BinaryRepresentation::operator>>(a3, &v20);
- if ( v20 )
- {
- while ( 1 )
- {
- LOBYTE(a3) = 0;
- Quazal::BinaryRepresentation::operator>>(v5, &a3);
- v6 = 0;
- switch ( a3 )
- {
- case 1u:
- v17 = Quazal::RootObject::operator new(
- 0x14u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xDBu);
- if ( !v17 )
- goto LABEL_11;
- v8 = Quazal::NameSpaceItem::NameSpaceItem(v17, v5);
- goto LABEL_7;
- case 2u:
- v18 = Quazal::RootObject::operator new(
- 0x48u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xDEu);
- if ( !v18 )
- goto LABEL_11;
- v8 = Quazal::Declaration::Declaration(v18, v5);
- goto LABEL_7;
- case 3u:
- v7 = Quazal::RootObject::operator new(
- 0x80u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xA8u);
- if ( !v7 )
- goto LABEL_11;
- v8 = Quazal::DOClassDeclaration::DOClassDeclaration(v7, v5);
- goto LABEL_7;
- case 4u:
- v11 = Quazal::RootObject::operator new(
- 0x6Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xABu);
- if ( !v11 )
- goto LABEL_11;
- v8 = Quazal::DatasetDeclaration::DatasetDeclaration(v11, v5);
- goto LABEL_7;
- case 5u:
- v12 = Quazal::RootObject::operator new(
- 0x48u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xAEu);
- if ( !v12 )
- goto LABEL_11;
- v8 = sub_102409A0(v12, v5);
- goto LABEL_7;
- case 6u:
- v14 = Quazal::RootObject::operator new(
- 0x28u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xB4u);
- if ( !v14 )
- goto LABEL_11;
- v8 = Quazal::Variable::Variable(v14, v5);
- goto LABEL_7;
- case 8u:
- if ( !Quazal::RootObject::operator new(
- 0x6Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xB7u) )
- goto LABEL_11;
- v8 = sub_10241440(v5);
- goto LABEL_7;
- case 9u:
- if ( !Quazal::RootObject::operator new(
- 0x6Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xBAu) )
- goto LABEL_11;
- v8 = sub_102412D0(v5);
- goto LABEL_7;
- case 0xAu:
- if ( !Quazal::RootObject::operator new(
- 0x48u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xD8u) )
- goto LABEL_11;
- v8 = sub_10240820(v5);
- goto LABEL_7;
- case 0xBu:
- v13 = Quazal::RootObject::operator new(
- 0x50u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xB1u);
- if ( !v13 )
- goto LABEL_11;
- v8 = Quazal::PropertyDeclaration::PropertyDeclaration(v13, v5);
- goto LABEL_7;
- case 0xCu:
- if ( !Quazal::RootObject::operator new(
- 0x6Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xCFu) )
- goto LABEL_11;
- v8 = sub_102415B0(v5);
- goto LABEL_7;
- case 0xDu:
- if ( !Quazal::RootObject::operator new(
- 0x2Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xBDu) )
- goto LABEL_11;
- v8 = sub_10243F90(v5);
- goto LABEL_7;
- case 0xEu:
- if ( !Quazal::RootObject::operator new(
- 0x28u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xC0u) )
- goto LABEL_11;
- v8 = sub_10243A50(v5);
- goto LABEL_7;
- case 0xFu:
- if ( !Quazal::RootObject::operator new(
- 0x7Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xC3u) )
- goto LABEL_11;
- v8 = sub_10240B00(v5);
- goto LABEL_7;
- case 0x10u:
- if ( !Quazal::RootObject::operator new(
- 0x4Cu,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xC9u) )
- goto LABEL_11;
- v8 = sub_10241630(v5);
- goto LABEL_7;
- case 0x11u:
- if ( !Quazal::RootObject::operator new(
- 0x48u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xC6u) )
- goto LABEL_11;
- v8 = sub_10241760(v5);
- goto LABEL_7;
- case 0x12u:
- v15 = Quazal::RootObject::operator new(
- 0x74u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xCCu);
- if ( !v15 )
- goto LABEL_11;
- v8 = sub_102423A0(v15, v5);
- goto LABEL_7;
- case 0x13u:
- v16 = Quazal::RootObject::operator new(
- 0x50u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xD2u);
- if ( !v16 )
- goto LABEL_11;
- v8 = Quazal::DDLUnitDeclaration::DDLUnitDeclaration(v16, v5);
- goto LABEL_7;
- case 0x14u:
- if ( !Quazal::RootObject::operator new(
- 0x48u,
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xD5u) )
- {
- LABEL_11:
- v6 = 0;
- LABEL_8:
- Quazal::SystemChecker::SystemCheck(
- "pNewItem!=NULL",
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xE3u);
- goto LABEL_9;
- }
- v8 = sub_102410C0(v5);
- LABEL_7:
- v6 = v8;
- if ( !v8 )
- goto LABEL_8;
- LABEL_9:
- a3 = v6;
- v9 = Quazal::NameSpace::GetItem(v4, (v6 + 8)) == 0;
- v10 = *v6;
- if ( v9 )
- {
- (*(v10 + 56))(v6, v4);
- sub_1010E470(*v4, *(v4 + 5), &a3);
- }
- else
- {
- (*(v10 + 8))(v6);
- if ( a4 != 1 )
- Quazal::SystemChecker::SystemCheck(
- "bExpandCurrentTree",
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xE8u);
- }
- if ( !--v20 )
- goto LABEL_52;
- break;
- default:
- Quazal::SystemChecker::SystemCheck(
- "false",
- "D:/work/gro/sin-gro-code/refactor/Yeti/engine/ExternLibs/OnlineSDK/1.4.1/OnlineCore/src/ParseTree/NameSpace.cpp",
- 0xE1u);
- goto LABEL_8;
- }
- }
- }
- LABEL_52:
- Quazal::NameSpace::ResolveReferences(v4);
- a4 = *(v5 + 40) == 0;
- Quazal::qResult::qResult(a2, &a4);
- return a2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement