// // LevelBrowserLayer::dLevelBrowserLayer from 0x100414084 to 0x100414188 (260 bytes) // // 6 xrefs: // > LevelListLayer::dLevelListLayer @ 0x1002430a0 // > sub_100249E74 @ 0x100249e9c // > j_LevelBrowserLayer::dLevelBrowserLayer @ 0x10041418c // > sub_100414190 @ 0x100414194 // > sub_100414198 @ 0x1004141a0 // > sub_1004141AC @ 0x1004141b8 // // 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 // __int64 __fastcall LevelBrowserLayer::dLevelBrowserLayer(__int64 a1) { cocos2d::CCDirector *v2; // x0 cocos2d::CCTouchDispatcher *v3; // x0 cocos2d::CCObject *v4; // x0 cocos2d::CCObject *v5; // x0 cocos2d::CCObject *v6; // x0 *(_QWORD *)a1 = &off_100822C30; *(_QWORD *)(a1 + 320) = off_100823198; *(_QWORD *)(a1 + 328) = &off_100823208; *(_QWORD *)(a1 + 336) = off_100823220; *(_QWORD *)(a1 + 344) = off_100823240; *(_QWORD *)(a1 + 352) = off_100823260; *(_QWORD *)(a1 + 408) = off_100823288; *(_QWORD *)(a1 + 432) = off_100823308; *(_QWORD *)(a1 + 544) = off_100823328; *(_QWORD *)(a1 + 552) = &off_100823360; *(_QWORD *)(a1 + 560) = &off_100823378; *(_QWORD *)(a1 + 568) = &off_100823390; *(_QWORD *)(a1 + 576) = off_1008233A8; *(_QWORD *)(a1 + 584) = &off_1008233D8; if ( *(_BYTE *)(a1 + 748) == 1 ) { v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2); cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (cocos2d::CCObject *)a1); } v4 = *(cocos2d::CCObject **)(a1 + 656); if ( v4 ) cocos2d::CCObject::release(v4); v5 = *(cocos2d::CCObject **)(a1 + 736); if ( v5 ) cocos2d::CCObject::release(v5); v6 = *(cocos2d::CCObject **)(a1 + 664); if ( v6 ) cocos2d::CCObject::release(v6); if ( (*(_BYTE *)(a1 + 748) & 1) == 0 ) GameManager::sharedState()->m_sceneEnum = 7; if ( GameLevelManager::sharedState()->m_levelManagerDelegate == (LevelManagerDelegate *)(a1 + 544) ) GameLevelManager::sharedState()->m_levelManagerDelegate = nullptr; return cocos2d::CCLayerColor::dCCLayerColor((_QWORD *)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source