// // sub_1002EDE1C from 0x1002ede1c to 0x1002edef8 (220 bytes) // // 2 xrefs: // > sub_1002ED4F4 @ 0x1002ed540 // > sub_1002ED704 @ 0x1002ed768 // // This function is hookable on this platform (idp: arm, 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:02:54 +0000 // __int64 __fastcall sub_1002EDE1C(__int64 *a1, __int64 a2, __int64 a3) { __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 void *v10; // x20 __int64 v11; // x21 __int64 v12; // x2 if ( a1[88] ) { v6 = cocos2d::CCDirector::sharedDirector(); v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 160LL))(v6); cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, a1[88]); } v8 = cocos2d::CCDirector::sharedDirector(); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 160LL))(v8); cocos2d::CCTouchDispatcher::unregisterForcePrio(v9, (__int64)a1); v10 = LevelLeaderboard::create(a1[85], a2, a3); v11 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); if ( (int)cocos2d::CCScene::getHighestChildZ(v11) < 105 ) v12 = 105; else v12 = (unsigned int)cocos2d::CCScene::getHighestChildZ(v11) + 1; (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v11 + 464LL))(v11, v10, v12); (*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1072))(a1, 0); return (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 528))(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source