// // GameObject::createWithKey from 0x140288930 to 0x14028ad93 (9315 bytes) // // 8 xrefs: // > EditorUI::getCreateBtn @ 0x1401f1437 // > GameObject::objectFromVector @ 0x14029a3ba // > GJBaseGameLayer::createPlayerCollisionBlock @ 0x14031fb68 // > LevelEditorLayer::createObject @ 0x1403f085d // > LevelEditorLayer::copyObjectState @ 0x140400c42 // > CreateStartPosPopup::onCreate @ 0x1404dcc5a // > PlayLayer::setupHasCompleted @ 0x140505834 // > @ 0x14091d234 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:29:04 +0000 // // Hidden C++ exception states: #wind=47 char *__fastcall GameObject::createWithKey(int a1) { __int64 v2; // rax __int64 v3; // rax _BYTE *v4; // rbx size_t v5; // r15 __int64 v6; // rax char *v7; // rdi char v8; // al cocos2d::CCObject *v9; // rcx __int64 v10; // rcx __int64 v11; // rbx int v12; // eax int v13; // ebx cocos2d::CCString *v14; // rax const char *CString; // rbx cocos2d::CCTextureCache *v16; // rax struct cocos2d::CCTexture2D *v17; // rax __int64 v18; // rax __int64 (__fastcall *v19)(); // rdx char *v20; // rcx char v21; // al char v22; // al bool v23; // al bool v24; // zf unsigned __int64 v26; // rdx bool v27; // al __int64 v28; // rax char v29; // al char v30; // al _QWORD *v31; // rax __int64 v32; // rax char v33; // al __int64 v34; // rax __int64 v35; // rax char v36; // al int v37; // [rsp+60h] [rbp+40h] BYREF void *v38; // [rsp+68h] [rbp+48h] char *v39; // [rsp+70h] [rbp+50h] v37 = a1; v2 = ObjectToolbox::sharedState(); v3 = sub_1402D6130(v2 + 320, &v37); v4 = (_BYTE *)v3; if ( *(_QWORD *)(v3 + 24) > 0xFu ) v4 = *(_BYTE **)v3; if ( !a1 ) return nullptr; v5 = -1; v6 = -1; do ++v6; while ( v4[v6] ); if ( !v6 ) return nullptr; if ( a1 <= 286 ) { if ( a1 != 286 ) { switch ( a1 ) { case 10: case 11: case 12: case 13: case 29: case 30: case 32: case 33: case 35: case 45: case 46: case 47: case 67: case 99: case 101: case 105: case 111: case 140: case 142: case 200: case 201: case 202: case 203: goto LABEL_135; case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 55: case 56: case 57: case 58: case 59: goto LABEL_101; case 31: v7 = (char *)operator new(0x748u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &StartPosObject::`vftable'; *((_QWORD *)v7 + 40) = &StartPosObject::`vftable'; *((_QWORD *)v7 + 43) = &StartPosObject::`vftable'; *((_QWORD *)v7 + 232) = 0; v8 = StartPosObject::init(v7); goto LABEL_11; case 36: case 84: case 141: goto LABEL_87; case 85: case 86: case 87: case 88: case 89: case 97: case 98: case 137: case 138: case 139: case 154: case 155: case 156: case 180: case 181: case 182: case 183: case 184: case 185: case 186: case 187: case 188: case 222: case 223: case 224: goto LABEL_132; default: goto LABEL_76; } } goto LABEL_135; } if ( a1 <= 660 ) { if ( a1 != 660 ) { switch ( a1 ) { case 287: goto LABEL_135; case 375: case 376: case 377: case 378: case 394: case 395: case 396: case 397: case 398: case 399: goto LABEL_132; default: goto LABEL_76; } } goto LABEL_135; } if ( a1 <= 997 ) { if ( a1 != 997 ) { switch ( a1 ) { case 675: case 676: case 677: case 678: case 679: case 680: case 740: case 741: case 742: case 920: case 921: case 923: case 924: goto LABEL_132; case 744: case 745: case 899: case 900: case 915: goto LABEL_135; case 747: case 749: goto LABEL_88; case 901: goto LABEL_38; case 914: v10 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v38 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v38); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v10 = qword_14090BFD0; } v11 = v10; if ( !v10 ) { v38 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v38); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v10 = qword_14090BFD0; } v12 = *(_DWORD *)(v11 + 1024); v13 = 59; if ( v12 < 59 ) v13 = v12; if ( v13 <= 0 ) { GameManager::loadFont(v10, 0); CString = "bigFont.png"; } else { GameManager::loadFont(v10, v13); v14 = cocos2d::CCString::createWithFormat("gjFont%02d.png", v13); CString = cocos2d::CCString::getCString(v14); } v16 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v17 = cocos2d::CCTextureCache::addImage(v16, CString, 0); v18 = TextGameObject::create(v17); goto LABEL_77; case 918: case 919: goto LABEL_52; default: goto LABEL_76; } } goto LABEL_132; } if ( a1 <= 1268 ) { if ( a1 != 1268 ) { switch ( a1 ) { case 998: case 999: case 1000: case 1019: case 1020: case 1021: case 1050: case 1051: case 1052: case 1053: case 1054: case 1055: case 1056: case 1057: case 1058: case 1059: case 1060: case 1061: goto LABEL_132; case 1006: case 1007: case 1049: goto LABEL_135; case 1022: goto LABEL_87; default: goto LABEL_76; } } v7 = (char *)operator new(0x790u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &SpawnTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &SpawnTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &SpawnTriggerGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *((_DWORD *)v7 + 470) = 0; *((_QWORD *)v7 + 236) = 0; *((_QWORD *)v7 + 237) = 0; *((_QWORD *)v7 + 238) = 0; *((_QWORD *)v7 + 239) = 0; *((_QWORD *)v7 + 240) = 0; v7[1928] = 0; v19 = *(__int64 (__fastcall **)())(*(_QWORD *)v7 + 72LL); v20 = v7; if ( (char *)v19 == (char *)SpawnTriggerGameObject::init ) v8 = SpawnTriggerGameObject::init(v7); else LABEL_34: v8 = ((__int64 (__fastcall *)(char *))v19)(v20); LABEL_11: v9 = (cocos2d::CCObject *)v7; if ( v8 ) goto LABEL_137; goto LABEL_55; } if ( a1 <= 1582 ) { if ( a1 != 1582 ) { switch ( a1 ) { case 1275: case 1329: case 1331: case 1332: case 1334: case 1347: case 1520: goto LABEL_135; case 1327: case 1328: goto LABEL_52; case 1330: case 1333: goto LABEL_87; case 1346: LABEL_38: v7 = (char *)operator new(0x750u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &EnhancedTriggerObject::`vftable'; *((_QWORD *)v7 + 40) = &EnhancedTriggerObject::`vftable'; *((_QWORD *)v7 + 43) = &EnhancedTriggerObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 1516: case 1518: case 1519: case 1521: case 1522: case 1523: case 1524: case 1525: case 1526: case 1527: case 1528: goto LABEL_132; default: goto LABEL_76; } } goto LABEL_132; } if ( a1 <= 1811 ) { if ( a1 != 1811 ) { switch ( a1 ) { case 1583: case 1591: case 1592: case 1593: case 1618: case 1619: case 1620: case 1697: case 1698: case 1699: case 1705: case 1706: case 1707: case 1708: case 1709: case 1710: case 1734: case 1735: case 1736: case 1752: goto LABEL_132; case 1584: goto LABEL_52; case 1585: case 1587: case 1589: case 1595: case 1598: case 1612: case 1613: case 1614: case 1755: goto LABEL_135; case 1594: goto LABEL_113; case 1611: break; case 1615: v7 = (char *)operator new(0x790u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &LabelGameObject::`vftable'; *((_QWORD *)v7 + 40) = &LabelGameObject::`vftable'; *((_QWORD *)v7 + 43) = &LabelGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; v7[1864] = 0; *((_OWORD *)v7 + 117) = 0; *((_QWORD *)v7 + 236) = 0; *((_QWORD *)v7 + 237) = 15; v7[1872] = 0; v7[1904] = 0; *((_DWORD *)v7 + 477) = 0; v7[1912] = 0; *((_DWORD *)v7 + 479) = 0; v7[1920] = 0; *((_DWORD *)v7 + 481) = 0; v7[1928] = 0; v19 = *(__int64 (__fastcall **)())(*(_QWORD *)v7 + 72LL); v20 = v7; if ( (char *)v19 != (char *)LabelGameObject::init ) goto LABEL_34; v8 = LabelGameObject::init(v7); goto LABEL_11; case 1616: v7 = (char *)operator new(0x768u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &TriggerControlGameObject::`vftable'; *((_QWORD *)v7 + 40) = &TriggerControlGameObject::`vftable'; *((_QWORD *)v7 + 43) = &TriggerControlGameObject::`vftable'; *((_OWORD *)v7 + 116) = 0; *((_QWORD *)v7 + 234) = 0; *((_QWORD *)v7 + 235) = 15; v7[1856] = 0; *((_DWORD *)v7 + 472) = 0; do ++v5; while ( v4[v5] ); sub_1400405A0((void **)v7 + 232, v4, v5); v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 1704: case 1751: v7 = (char *)operator new(0x758u); v38 = v7; EffectGameObject::EffectGameObject(v7); *((_WORD *)v7 + 928) = 0; *(_QWORD *)v7 = &DashRingObject::`vftable'; *((_QWORD *)v7 + 40) = &DashRingObject::`vftable'; *((_QWORD *)v7 + 43) = &DashRingObject::`vftable'; *((_DWORD *)v7 + 466) = 1065353216; *(_QWORD *)(v7 + 1868) = 1065353216; *((_WORD *)v7 + 938) = 0; v21 = EffectGameObject::init(v7, v4); v9 = (cocos2d::CCObject *)v7; if ( !v21 ) goto LABEL_55; v7[1081] = 1; v7[1488] = 1; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); goto LABEL_78; default: goto LABEL_76; } } LABEL_56: v7 = (char *)operator new(0x750u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &CountTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &CountTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &CountTriggerGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_WORD *)v7 + 932) = 0; *((_DWORD *)v7 + 467) = 1065353216; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; } if ( a1 <= 2015 ) { if ( a1 != 2015 ) { switch ( a1 ) { case 1812: case 1813: case 1814: case 1815: case 1816: case 1818: case 1819: case 1829: case 1859: case 1912: case 1913: case 1917: case 1931: case 1933: case 1935: goto LABEL_135; case 1817: goto LABEL_56; case 1831: case 1832: case 1833: case 1834: case 1839: case 1840: case 1841: case 1842: case 1849: case 1850: case 1851: case 1852: case 1853: case 1854: case 1855: case 1856: case 1857: case 1858: case 1860: case 1936: case 1937: case 1938: case 1939: goto LABEL_132; case 1914: case 1916: break; case 1915: goto LABEL_101; case 1932: v7 = (char *)operator new(0x748u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &PlayerControlGameObject::`vftable'; *((_QWORD *)v7 + 40) = &PlayerControlGameObject::`vftable'; *((_QWORD *)v7 + 43) = &PlayerControlGameObject::`vftable'; *((_DWORD *)v7 + 464) = 0; v22 = PlayerControlGameObject::init(v7); goto LABEL_54; case 1934: goto LABEL_125; case 2012: LABEL_52: v7 = (char *)operator new(0x610u); v38 = v7; EnhancedGameObject::EnhancedGameObject((__int64)v7); *(_QWORD *)v7 = &AnimatedGameObject::`vftable'; *((_QWORD *)v7 + 40) = &AnimatedGameObject::`vftable'; *((_QWORD *)v7 + 43) = &AnimatedGameObject::`vftable'; *((_QWORD *)v7 + 183) = &AnimatedGameObject::`vftable'; *((_QWORD *)v7 + 184) = &AnimatedGameObject::`vftable'; *((_QWORD *)v7 + 185) = 0; *((_QWORD *)v7 + 186) = 0; *((_QWORD *)v7 + 187) = 0; *((_WORD *)v7 + 752) = 0; *(_OWORD *)(v7 + 1512) = 0; *((_QWORD *)v7 + 191) = 0; *((_QWORD *)v7 + 192) = 15; v7[1512] = 0; v7[1544] = 0; *((_DWORD *)v7 + 387) = 0; v8 = AnimatedGameObject::init(v7, (unsigned int)a1); goto LABEL_11; default: goto LABEL_76; } } LABEL_96: v7 = (char *)operator new(0x760u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &CameraTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &CameraTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &CameraTriggerGameObject::`vftable'; *((_WORD *)v7 + 928) = 0; *(_QWORD *)(v7 + 1860) = 1065353216; v7[1868] = 0; *((_DWORD *)v7 + 468) = 0; v7[1876] = 0; *((_DWORD *)v7 + 470) = 1065353216; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; } if ( a1 <= 2605 ) { if ( a1 != 2605 ) { switch ( a1 ) { case 2016: case 2062: goto LABEL_96; case 2020: case 2021: case 2022: case 2023: case 2024: case 2025: case 2026: case 2027: case 2028: case 2029: case 2030: case 2031: case 2032: case 2033: case 2034: case 2035: case 2036: case 2037: case 2038: case 2039: case 2040: case 2041: case 2042: case 2043: case 2044: case 2045: case 2048: case 2049: case 2050: case 2051: case 2052: case 2053: case 2054: case 2223: case 2246: goto LABEL_132; case 2046: case 2047: case 2055: v7 = (char *)operator new(0x5C0u); v38 = v7; EnhancedGameObject::EnhancedGameObject((__int64)v7); *(_QWORD *)v7 = &SpecialAnimGameObject::`vftable'; *((_QWORD *)v7 + 40) = &SpecialAnimGameObject::`vftable'; *((_QWORD *)v7 + 43) = &SpecialAnimGameObject::`vftable'; *((_WORD *)v7 + 732) = 0; *((_DWORD *)v7 + 7) = 13; goto LABEL_65; case 2063: v7 = (char *)operator new(0x750u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &CheckpointGameObject::`vftable'; *((_QWORD *)v7 + 40) = &CheckpointGameObject::`vftable'; *((_QWORD *)v7 + 43) = &CheckpointGameObject::`vftable'; v7[1856] = 0; *(_QWORD *)(v7 + 1860) = 0; v8 = CheckpointGameObject::init(v7); goto LABEL_11; case 2064: goto LABEL_88; case 2065: v18 = ParticleGameObject::create(); goto LABEL_77; case 2066: goto LABEL_135; case 2067: v7 = (char *)operator new(0x758u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &TransformTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &TransformTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &TransformTriggerGameObject::`vftable'; *((_DWORD *)v7 + 464) = 1065353216; *(_QWORD *)(v7 + 1860) = 1065353216; *(_QWORD *)(v7 + 1868) = 0; v7[1876] = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 2068: v7 = (char *)operator new(0x758u); v38 = v7; EffectGameObject::EffectGameObject(v7); *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *(_QWORD *)v7 = &RandTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &RandTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &RandTriggerGameObject::`vftable'; v8 = (unsigned __int8)EffectGameObject::init(v7, "edit_eAdvRandomBtn_001.png") != 0; goto LABEL_11; case 2069: goto LABEL_118; default: goto LABEL_76; } } goto LABEL_132; } if ( a1 > 4300 ) { if ( (unsigned int)(a1 - 4401) <= 0x8A ) { LABEL_135: v38 = operator new(0x740u); v35 = EffectGameObject::EffectGameObject(v38); v7 = (char *)v35; if ( !v35 ) goto LABEL_78; v36 = EffectGameObject::init(v35, v4); v9 = (cocos2d::CCObject *)v7; if ( v36 ) { LABEL_137: cocos2d::CCObject::autorelease(v9); goto LABEL_78; } goto LABEL_55; } goto LABEL_76; } if ( a1 == 4300 ) goto LABEL_132; if ( a1 <= 2864 ) { if ( a1 == 2864 || a1 == 2629 || a1 == 2630 ) goto LABEL_132; v24 = a1 == 2694; LABEL_75: if ( v24 ) goto LABEL_132; LABEL_76: v18 = GameObject::createWithFrame(v4); LABEL_77: v7 = (char *)v18; goto LABEL_78; } if ( a1 > 3219 ) { if ( a1 <= 3482 ) { if ( a1 == 3482 || a1 == 3303 ) goto LABEL_132; v24 = a1 == 3304; goto LABEL_75; } if ( a1 > 4211 ) goto LABEL_76; if ( a1 != 4211 ) { switch ( a1 ) { case 3483: case 3484: case 3492: case 3493: break; case 3600: v7 = (char *)operator new(0x748u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &EndTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &EndTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &EndTriggerGameObject::`vftable'; *((_WORD *)v7 + 928) = 0; v7[1858] = 0; v22 = EndTriggerGameObject::init(v7); goto LABEL_54; case 3601: case 3606: case 3609: case 3612: case 3618: case 3640: case 3662: goto LABEL_135; case 3602: case 3603: v38 = operator new(0x808u); v32 = SFXTriggerGameObject::SFXTriggerGameObject(v38); v7 = (char *)v32; if ( !v32 ) goto LABEL_78; v33 = EffectGameObject::init(v32, v4); v9 = (cocos2d::CCObject *)v7; if ( v33 ) goto LABEL_137; goto LABEL_55; case 3604: v7 = (char *)operator new(0x760u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &EventLinkTrigger::`vftable'; *((_QWORD *)v7 + 40) = &EventLinkTrigger::`vftable'; *((_QWORD *)v7 + 43) = &EventLinkTrigger::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; v31 = operator new(0x20u); *v31 = v31; v31[1] = v31; v31[2] = v31; *((_WORD *)v31 + 12) = 257; *((_QWORD *)v7 + 232) = v31; v7[1872] = 0; *(_QWORD *)(v7 + 1876) = 0; v19 = *(__int64 (__fastcall **)())(*(_QWORD *)v7 + 72LL); v20 = v7; if ( (char *)v19 != (char *)EventLinkTrigger::init ) goto LABEL_34; v8 = EventLinkTrigger::init(v7); goto LABEL_11; case 3605: LABEL_125: v7 = (char *)operator new(0x810u); v38 = v7; SFXTriggerGameObject::SFXTriggerGameObject(v7); *(_QWORD *)v7 = &SongTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &SongTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &SongTriggerGameObject::`vftable'; *((_WORD *)v7 + 1028) = 0; v7[2058] = 0; *((_DWORD *)v7 + 515) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 3607: v7 = (char *)operator new(0x7F0u); v38 = v7; EffectGameObject::EffectGameObject(v7); *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *(_QWORD *)v7 = &SequenceTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &SequenceTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &SequenceTriggerGameObject::`vftable'; v39 = v7 + 1880; sub_14003EC10((__int64)(v7 + 1880)); sub_14003EC10((__int64)(v7 + 1944)); *((_QWORD *)v7 + 251) = 0; *((_QWORD *)v7 + 252) = 0; v7[2028] = 0; v19 = *(__int64 (__fastcall **)())(*(_QWORD *)v7 + 72LL); v20 = v7; if ( v19 != SequenceTriggerGameObject::init ) goto LABEL_34; v8 = (unsigned __int8)EffectGameObject::init(v7, "edit_eSequenceBtn_001.png") != 0; goto LABEL_11; case 3608: v7 = (char *)operator new(0x768u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &SpawnParticleGameObject::`vftable'; *((_QWORD *)v7 + 40) = &SpawnParticleGameObject::`vftable'; *((_QWORD *)v7 + 43) = &SpawnParticleGameObject::`vftable'; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 1856)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 1864)); v7[1872] = 0; *(_QWORD *)(v7 + 1876) = 0; *(_QWORD *)(v7 + 1884) = 1065353216; v19 = *(__int64 (__fastcall **)())(*(_QWORD *)v7 + 72LL); v20 = v7; if ( (char *)v19 != (char *)SpawnParticleGameObject::init ) goto LABEL_34; v8 = SpawnParticleGameObject::init(v7); goto LABEL_11; case 3613: v7 = (char *)operator new(0x750u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &UISettingsGameObject::`vftable'; *((_QWORD *)v7 + 40) = &UISettingsGameObject::`vftable'; *((_QWORD *)v7 + 43) = &UISettingsGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_WORD *)v7 + 932) = 0; v8 = UISettingsGameObject::init(v7); goto LABEL_11; case 3614: case 3615: case 3617: v7 = (char *)operator new(0x760u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &TimerTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &TimerTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &TimerTriggerGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_WORD *)v7 + 936) = 0; v7[1874] = 0; *((_DWORD *)v7 + 469) = 1065353216; *((_WORD *)v7 + 940) = 0; *((_DWORD *)v7 + 471) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 3619: case 3620: case 3641: v7 = (char *)operator new(0x778u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &ItemTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &ItemTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &ItemTriggerGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_DWORD *)v7 + 466) = 1; *((_DWORD *)v7 + 467) = 1065353216; *((_QWORD *)v7 + 234) = 1065353216; *((_DWORD *)v7 + 470) = 1; *(_QWORD *)(v7 + 1884) = 3; *(_QWORD *)(v7 + 1892) = 0; *(_QWORD *)(v7 + 1900) = 0; *((_DWORD *)v7 + 477) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 3642: v7 = (char *)operator new(0x750u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &AudioLineGuideGameObject::`vftable'; *((_QWORD *)v7 + 40) = &AudioLineGuideGameObject::`vftable'; *((_QWORD *)v7 + 43) = &AudioLineGuideGameObject::`vftable'; *((_DWORD *)v7 + 464) = 100; *(_QWORD *)(v7 + 1860) = 1; v7[1868] = 0; v8 = AudioLineGuideGameObject::init(v7); goto LABEL_11; case 3643: LABEL_113: v18 = RingObject::create(v4); *(_DWORD *)(v18 + 1256) = 1; goto LABEL_77; case 3645: LABEL_118: v7 = (char *)operator new(0x758u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &ForceBlockGameObject::`vftable'; *((_QWORD *)v7 + 40) = &ForceBlockGameObject::`vftable'; *((_QWORD *)v7 + 43) = &ForceBlockGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_DWORD *)v7 + 466) = 0; *((_WORD *)v7 + 934) = 0; *((_DWORD *)v7 + 468) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 3655: v7 = (char *)operator new(0x740u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &ObjectControlGameObject::`vftable'; *((_QWORD *)v7 + 40) = &ObjectControlGameObject::`vftable'; *((_QWORD *)v7 + 43) = &ObjectControlGameObject::`vftable'; v22 = ObjectControlGameObject::init(v7); LABEL_54: v9 = (cocos2d::CCObject *)v7; if ( !v22 ) goto LABEL_55; goto LABEL_137; case 3660: case 3661: v7 = (char *)operator new(0x850u); v38 = v7; AdvancedFollowTriggerObject::AdvancedFollowTriggerObject(v7); *(_QWORD *)v7 = &AdvancedFollowEditObject::`vftable'; *((_QWORD *)v7 + 40) = &AdvancedFollowEditObject::`vftable'; *((_QWORD *)v7 + 43) = &AdvancedFollowEditObject::`vftable'; *((_QWORD *)v7 + 263) = 1065353216; *((_QWORD *)v7 + 264) = 1065353216; v7[2120] = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 3663: v7 = (char *)operator new(0x748u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &ProgressGameObject::`vftable'; *((_QWORD *)v7 + 40) = &ProgressGameObject::`vftable'; *((_QWORD *)v7 + 43) = &ProgressGameObject::`vftable'; *((_DWORD *)v7 + 464) = 0; *((_WORD *)v7 + 930) = 0; v8 = ProgressGameObject::init(v7); goto LABEL_11; default: goto LABEL_76; } } } else if ( a1 != 3219 ) { v26 = 0x140000000uLL; switch ( a1 ) { case 2865: case 2867: case 2868: case 2869: case 2870: case 2871: case 2872: case 2873: case 2874: case 2875: case 2876: case 2877: case 2878: case 2879: case 2880: case 2881: case 2882: case 2883: case 2884: case 2885: case 2886: case 2887: case 2888: case 2889: case 2890: case 2891: case 2892: case 2893: case 2894: case 3000: case 3001: case 3002: case 3119: case 3120: case 3121: break; case 2866: case 2901: case 2926: case 2999: case 3005: goto LABEL_135; case 2895: case 2896: case 2897: v7 = (char *)operator new(0x598u); v38 = v7; GameObject::GameObject((__int64)v7); *(_QWORD *)v7 = &SmartGameObject::`vftable'; *((_QWORD *)v7 + 40) = &SmartGameObject::`vftable'; *((_QWORD *)v7 + 43) = &SmartGameObject::`vftable'; v7[1360] = 0; *(_OWORD *)(v7 + 1368) = 0; *((_QWORD *)v7 + 173) = 0; *((_QWORD *)v7 + 174) = 15; v7[1368] = 0; *(_OWORD *)(v7 + 1400) = 0; *((_QWORD *)v7 + 177) = 0; *((_QWORD *)v7 + 178) = 15; v7[1400] = 0; *((_DWORD *)v7 + 7) = 13; v27 = cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)v7, v4); v9 = (cocos2d::CCObject *)v7; if ( !v27 ) goto LABEL_55; GameObject::commonSetup(v7); v7[313] = 1; do ++v5; while ( v4[v5] ); sub_1400405A0((void **)v7 + 175, v4, v5); *((_DWORD *)v7 + 314) = 5; v7[313] = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); goto LABEL_78; case 2899: v7 = (char *)operator new(0x778u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &GameOptionsTrigger::`vftable'; *((_QWORD *)v7 + 40) = &GameOptionsTrigger::`vftable'; *((_QWORD *)v7 + 43) = &GameOptionsTrigger::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *((_QWORD *)v7 + 235) = 0; *((_QWORD *)v7 + 236) = 0; *((_QWORD *)v7 + 237) = 0; *((_QWORD *)v7 + 238) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 2900: v7 = (char *)operator new(0x760u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &RotateGameplayGameObject::`vftable'; *((_QWORD *)v7 + 40) = &RotateGameplayGameObject::`vftable'; *((_QWORD *)v7 + 43) = &RotateGameplayGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_WORD *)v7 + 932) = 0; *((_DWORD *)v7 + 467) = 1065353216; *((_DWORD *)v7 + 468) = 1065353216; *((_WORD *)v7 + 938) = 0; *((_DWORD *)v7 + 470) = 0; *((_WORD *)v7 + 942) = 0; v8 = RotateGameplayGameObject::init(v7); goto LABEL_11; case 2902: case 3027: LABEL_88: v18 = TeleportPortalObject::create(v4, 0); goto LABEL_77; case 2903: v7 = (char *)operator new(0x768u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &GradientTriggerObject::`vftable'; *((_QWORD *)v7 + 40) = &GradientTriggerObject::`vftable'; *((_QWORD *)v7 + 43) = &GradientTriggerObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *((_DWORD *)v7 + 470) = 0; *((_WORD *)v7 + 942) = 0; v7[1886] = 0; *((_DWORD *)v7 + 472) = 1065353216; v8 = GradientTriggerObject::init(v7); goto LABEL_11; case 2904: case 2905: case 2907: case 2909: case 2910: case 2911: case 2912: case 2913: case 2914: case 2915: case 2916: case 2917: case 2919: case 2920: case 2921: case 2922: case 2923: case 2924: v7 = (char *)operator new(0x790u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &ShaderGameObject::`vftable'; *((_QWORD *)v7 + 40) = &ShaderGameObject::`vftable'; *((_QWORD *)v7 + 43) = &ShaderGameObject::`vftable'; *((_DWORD *)v7 + 464) = 1065353216; *((_DWORD *)v7 + 465) = 1065353216; *((_QWORD *)v7 + 233) = 1065353216; *((_DWORD *)v7 + 468) = 1065353216; *((_DWORD *)v7 + 469) = 1065353216; *((_DWORD *)v7 + 470) = 1065353216; *((_DWORD *)v7 + 471) = 1065353216; *((_QWORD *)v7 + 236) = 1065353216; *((_DWORD *)v7 + 474) = 0; v7[1900] = 0; *((_QWORD *)v7 + 238) = 0; *((_QWORD *)v7 + 239) = 0; *((_WORD *)v7 + 964) = 0; v7[1930] = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 2925: goto LABEL_96; case 3004: LABEL_87: v18 = RingObject::create(v4); goto LABEL_77; case 3006: case 3007: case 3008: case 3009: case 3010: case 3011: case 3012: case 3013: case 3014: case 3015: case 3017: case 3018: case 3019: case 3020: case 3021: case 3023: case 3024: LABEL_101: v7 = (char *)operator new(0x828u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &EnterEffectObject::`vftable'; *((_QWORD *)v7 + 40) = &EnterEffectObject::`vftable'; *((_QWORD *)v7 + 43) = &EnterEffectObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *((_QWORD *)v7 + 235) = 0; *((_QWORD *)v7 + 236) = 0; *((_QWORD *)v7 + 237) = 0; *((_QWORD *)v7 + 238) = 0; *((_DWORD *)v7 + 478) = 0; v7[1916] = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 1920)); v7[1928] = 0; *(_QWORD *)(v7 + 1932) = 0; *(_QWORD *)(v7 + 1940) = 0x40000000; *((_DWORD *)v7 + 487) = 0; *((_QWORD *)v7 + 244) = 0x40000000; *((_QWORD *)v7 + 245) = 0; *((_QWORD *)v7 + 246) = 0; *((_QWORD *)v7 + 247) = 0; *((_DWORD *)v7 + 496) = 0; *((_WORD *)v7 + 994) = 0; *((_DWORD *)v7 + 498) = 1065353216; *(_QWORD *)(v7 + 1996) = 1065353216; *(_QWORD *)(v7 + 2004) = 0; *(_QWORD *)(v7 + 2012) = 0; *(_QWORD *)(v7 + 2020) = 0; *((_WORD *)v7 + 1014) = 0; *((_DWORD *)v7 + 508) = 0; *((_WORD *)v7 + 1018) = 0; *((_QWORD *)v7 + 255) = 0; *((_DWORD *)v7 + 512) = 0; v7[2052] = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 2056)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 2064)); v7[2072] = 0; *((_DWORD *)v7 + 520) = 0; v30 = EffectGameObject::init(v7, v4); v9 = (cocos2d::CCObject *)v7; if ( !v30 ) goto LABEL_55; *((_DWORD *)v7 + 232) = 45; *((_DWORD *)v7 + 234) = 45; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); goto LABEL_78; case 3016: v38 = operator new(0x838u); v28 = AdvancedFollowTriggerObject::AdvancedFollowTriggerObject(v38); v7 = (char *)v28; if ( !v28 ) goto LABEL_78; v29 = EffectGameObject::init(v28, v4); v9 = (cocos2d::CCObject *)v7; if ( v29 ) goto LABEL_137; goto LABEL_55; case 3022: LOBYTE(v26) = 1; v18 = TeleportPortalObject::create(v4, v26); goto LABEL_77; case 3029: case 3030: case 3031: v7 = (char *)operator new(0x748u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &ArtTriggerGameObject::`vftable'; *((_QWORD *)v7 + 40) = &ArtTriggerGameObject::`vftable'; *((_QWORD *)v7 + 43) = &ArtTriggerGameObject::`vftable'; *((_DWORD *)v7 + 464) = 0; v8 = EffectGameObject::init(v7, v4); goto LABEL_11; case 3032: v7 = (char *)operator new(0x778u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &KeyframeGameObject::`vftable'; *((_QWORD *)v7 + 40) = &KeyframeGameObject::`vftable'; *((_QWORD *)v7 + 43) = &KeyframeGameObject::`vftable'; *((_QWORD *)v7 + 232) = 0; *((_QWORD *)v7 + 233) = 0; *((_QWORD *)v7 + 234) = 0; *((_DWORD *)v7 + 470) = 0; *(_QWORD *)(v7 + 1884) = 0; *((_DWORD *)v7 + 473) = 0; *((_WORD *)v7 + 948) = 0; v7[1898] = 0; *(_QWORD *)(v7 + 1900) = 0; *((_DWORD *)v7 + 477) = 1065353216; v8 = KeyframeGameObject::init(v7); goto LABEL_11; case 3033: v7 = (char *)operator new(0x758u); v38 = v7; EffectGameObject::EffectGameObject(v7); *(_QWORD *)v7 = &KeyframeAnimTriggerObject::`vftable'; *((_QWORD *)v7 + 40) = &KeyframeAnimTriggerObject::`vftable'; *((_QWORD *)v7 + 43) = &KeyframeAnimTriggerObject::`vftable'; *((_DWORD *)v7 + 464) = 1065353216; *((_DWORD *)v7 + 465) = 1065353216; *((_DWORD *)v7 + 466) = 1065353216; *((_DWORD *)v7 + 467) = 1065353216; *((_DWORD *)v7 + 468) = 1065353216; *((_DWORD *)v7 + 469) = 1065353216; v22 = KeyframeAnimTriggerObject::init(v7); goto LABEL_54; default: goto LABEL_76; } } LABEL_132: v38 = operator new(0x5B8u); v34 = EnhancedGameObject::EnhancedGameObject((__int64)v38); v7 = (char *)v34; if ( !v34 ) goto LABEL_78; *(_DWORD *)(v34 + 28) = 13; LABEL_65: v23 = cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)v7, v4); v9 = (cocos2d::CCObject *)v7; if ( v23 ) { GameObject::commonSetup(v7); *((_DWORD *)v7 + 314) = 4; v7[313] = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); goto LABEL_78; } LABEL_55: (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v7 + 8LL))(v9, 1); v7 = nullptr; LABEL_78: if ( v7 ) { *((_DWORD *)v7 + 259) = a1; if ( *((_DWORD *)v7 + 234) == 7 ) *((_DWORD *)v7 + 234) = *((_DWORD *)v7 + 232); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source