{"type": "func", "start": 4797860, "end": 4797914, "name": "CreatorLayer::onLeaderboards", "pseudocode": "// \n// CreatorLayer::onLeaderboards from 0x4935a4 to 0x4935da (54 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:39 +0000\n// \n\nint __fastcall CreatorLayer::onLeaderboards(CreatorLayer *this, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v2; // r4\n  GameLevelManager *v3; // r0\n  int v4; // r5\n  int v5; // r0\n  float v6; // r0\n  cocos2d::CCScene *v7; // r2\n  cocos2d::CCScene *v8; // r1\n\n  v2 = (GameLevelManager *)cocos2d::CCDirector::sharedDirector(this);\n  v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n  v4 = *((_DWORD *)v3 + 202);\n  v5 = GameLevelManager::sharedState(v3);\n  v6 = LeaderboardsLayer::scene(v4, *(_DWORD *)(v5 + 812));\n  v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v6, v7);\n  return cocos2d::CCDirector::pushScene(v2, v8);\n}", "assembly": "; \n; CreatorLayer::onLeaderboards from 0x4935a4 to 0x4935da (54 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:39 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4935a4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2, 0x4935a6\nMOV             R4, R0                                                 ; +0x6, 0x4935aa\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x8, 0x4935ac\nLDR.W           R5, [R0,#0x328]                                        ; +0xc, 0x4935b0\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x10, 0x4935b4\nMOV             R3, R0                                                 ; +0x14, 0x4935b8\nMOV             R0, R5                                                 ; +0x16, 0x4935ba\nLDR.W           R1, [R3,#0x32C]                                        ; +0x18, 0x4935bc\nBL              _ZN17LeaderboardsLayer5sceneE15LeaderboardType15LeaderboardStat; LeaderboardsLayer::scene(LeaderboardType,LeaderboardStat) ; +0x1c, 0x4935c0\nMOV             R1, R0; float                                          ; +0x20, 0x4935c4\nMOV.W           R0, #0x3F000000; this                                  ; +0x22, 0x4935c6\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x26, 0x4935ca\nMOV             R1, R0; cocos2d::CCScene *                             ; +0x2a, 0x4935ce\nMOV             R0, R4; this                                           ; +0x2c, 0x4935d0\nPOP.W           {R3-R5,LR}                                             ; +0x2e, 0x4935d2\nB.W             _ZN7cocos2d10CCDirector9pushSceneEPNS_7CCSceneE; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x32, 0x4935d6", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}