// // LevelBrowserLayer::dLevelBrowserLayer from 0x1402c89c0 to 0x1402c8b92 (466 bytes) // // 5 xrefs: // > sub_1402C8980 @ 0x1402c898f // > sub_140302F20 @ 0x1403030f6 // > sub_140502A5D @ 0x140502a64 // > @ 0x1406915b0 // > @ 0x1406d2c48 // // 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 // void __fastcall LevelBrowserLayer::dLevelBrowserLayer(__int64 a1) { __int64 v2; // rdi __int64 v3; // rax cocos2d::CCTouchDispatcher *v4; // rax cocos2d::CCObject *v5; // rcx cocos2d::CCObject *v6; // rcx cocos2d::CCObject *v7; // rcx __int64 v8; // rax void *v9; // rax __int64 v10; // rax void *v11; // rax *(_QWORD *)a1 = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 320) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 328) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 336) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 344) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 352) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 408) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 432) = &LevelBrowserLayer::`vftable'; v2 = a1 + 544; *(_QWORD *)(a1 + 544) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 552) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 560) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 568) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 576) = &LevelBrowserLayer::`vftable'; *(_QWORD *)(a1 + 584) = &LevelBrowserLayer::`vftable'; if ( *(_BYTE *)(a1 + 748) ) { v3 = cocos2d::CCDirector::sharedDirector(a1); v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, (struct cocos2d::CCObject *)a1); } v5 = *(cocos2d::CCObject **)(a1 + 656); if ( v5 ) cocos2d::CCObject::release(v5); v6 = *(cocos2d::CCObject **)(a1 + 736); if ( v6 ) cocos2d::CCObject::release(v6); v7 = *(cocos2d::CCObject **)(a1 + 664); if ( v7 ) cocos2d::CCObject::release(v7); if ( !*(_BYTE *)(a1 + 748) ) { v8 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v8 = qword_1406C2ED8; } *(_DWORD *)(v8 + 700) = 7; } v10 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v11 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v10 = qword_1406C2EC0; } if ( *(_QWORD *)(v10 + 720) == v2 ) *(_QWORD *)(v10 + 720) = 0; cocos2d::CCLayerColor::~CCLayerColor((cocos2d::CCLayerColor *)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source