{"type": "func", "start": 8238888, "end": 8238960, "name": "CreatorLayer::onLeaderboards", "pseudocode": "// \n// CreatorLayer::onLeaderboards from 0x7db728 to 0x7db770 (72 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xfd030\n// > CreatorLayer::init @ 0x7dd57c\n// > <???> @ 0x1547b40\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:54:23 +0000\n// \n\n__int64 __fastcall CreatorLayer::onLeaderboards(CreatorLayer *this, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v2; // x19\n  GameLevelManager *v3; // x0\n  unsigned int v4; // w20\n  __int64 v5; // x0\n  cocos2d::CCTransitionFade *v6; // x0\n  cocos2d::CCScene *v7; // x1\n  cocos2d::CCScene *v8; // x0\n\n  v2 = (GameLevelManager *)cocos2d::CCDirector::sharedDirector(this);\n  v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n  v4 = *((_DWORD *)v3 + 302);\n  v5 = GameLevelManager::sharedState(v3);\n  v6 = (cocos2d::CCTransitionFade *)LeaderboardsLayer::scene(v4, *(unsigned int *)(v5 + 1212));\n  v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v6, 0.5, v7);\n  return cocos2d::CCDirector::pushScene(v2, v8);\n}", "assembly": "; \n; CreatorLayer::onLeaderboards from 0x7db728 to 0x7db770 (72 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xfd030\n; > CreatorLayer::init @ 0x7dd57c\n; > <???> @ 0x1547b40\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:54:23 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7db728\nMOV             X29, SP                                                ; +0x4, 0x7db72c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x7db730\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xc, 0x7db734\nMOV             X19, X0                                                ; +0x10, 0x7db738\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x14, 0x7db73c\nLDR             W20, [X0,#0x4B8]                                       ; +0x18, 0x7db740\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x1c, 0x7db744\nLDR             W1, [X0,#0x4BC]                                        ; +0x20, 0x7db748\nMOV             W0, W20                                                ; +0x24, 0x7db74c\nBL              _ZN17LeaderboardsLayer5sceneE15LeaderboardType15LeaderboardStat; LeaderboardsLayer::scene(LeaderboardType,LeaderboardStat) ; +0x28, 0x7db750\nFMOV            S0, #0.5; float                                        ; +0x2c, 0x7db754\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x30, 0x7db758\nMOV             X1, X0; cocos2d::CCScene *                             ; +0x34, 0x7db75c\nMOV             X0, X19; this                                          ; +0x38, 0x7db760\nLDP             X19, X20, [SP,#var_s10]                                ; +0x3c, 0x7db764\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x40, 0x7db768\nB               _ZN7cocos2d10CCDirector9pushSceneEPNS_7CCSceneE; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x44, 0x7db76c", "xrefs": ["<???> @ 0xfd030", "CreatorLayer::init @ 0x7dd57c", "<???> @ 0x1547b40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}