// // sub_140302F20 from 0x140302f20 to 0x140303122 (514 bytes) // // 3 xrefs: // > sub_14030BD38 @ 0x14030bd3f // > @ 0x140589968 // > @ 0x1406d4418 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=1 char *__fastcall sub_140302F20(char *Block, char a2) { char *v4; // rdi __int64 v5; // rax void *v6; // rax cocos2d::CCObject *v7; // rcx cocos2d::CCObject *v8; // rcx __int64 v9; // rax void *v10; // rax *(_QWORD *)Block = &LevelListLayer::`vftable'; *((_QWORD *)Block + 40) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 41) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 42) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 43) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 44) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 51) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 54) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 68) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 69) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 70) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 71) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 72) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 73) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 100) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 101) = &LevelListLayer::`vftable'; *((_QWORD *)Block + 102) = &LevelListLayer::`vftable'; v4 = Block + 824; *((_QWORD *)Block + 103) = &LevelListLayer::`vftable'; v5 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v5 = qword_1406C2ED8; } *(_DWORD *)(v5 + 700) = 13; v7 = *((cocos2d::CCObject **)Block + 109); if ( v7 ) cocos2d::CCObject::release(v7); v8 = *((cocos2d::CCObject **)Block + 118); if ( v8 ) cocos2d::CCObject::release(v8); v9 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v10 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v9 = qword_1406C2EC0; } if ( *(char **)(v9 + 792) == v4 ) *(_QWORD *)(v9 + 792) = 0; sub_14003A830((__int64)(Block + 880)); sub_14003A830((__int64)(Block + 840)); LevelBrowserLayer::dLevelBrowserLayer((__int64)Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source