{"type": "func", "start": 4295712056, "end": 4295712128, "name": "CreatorLayer::onLeaderboards", "pseudocode": "// \n// CreatorLayer::onLeaderboards from 0x1000b5d38 to 0x1000b5d80 (72 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x1000b5468\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CreatorLayer::onLeaderboards(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v2; // x19\n  LeaderboardType m_leaderboardType; // w20\n  GameLevelManager *v4; // x0\n  cocos2d::CCScene *v5; // x0\n  cocos2d::CCTransitionFade *v6; // x1\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  m_leaderboardType = GameLevelManager::sharedState()->m_leaderboardType;\n  v4 = GameLevelManager::sharedState();\n  v5 = LeaderboardsLayer::scene(m_leaderboardType, v4->m_leaderboardStat);\n  v6 = cocos2d::CCTransitionFade::create_1(0.5, v5);\n  cocos2d::CCDirector::pushScene(v2, v6);\n}", "assembly": "; \n; CreatorLayer::onLeaderboards from 0x1000b5d38 to 0x1000b5d80 (72 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x1000b5468\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000b5d38\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000b5d3c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000b5d40\nBL              cocos2d__CCDirector__sharedDirector                    ; +0xc, 0x1000b5d44\nMOV             X19, X0                                                ; +0x10, 0x1000b5d48\nBL              GameLevelManager__sharedState                          ; +0x14, 0x1000b5d4c\nLDR             W20, [X0,#0x2C0]                                       ; +0x18, 0x1000b5d50\nBL              GameLevelManager__sharedState                          ; +0x1c, 0x1000b5d54\nLDR             W1, [X0,#0x2C4]                                        ; +0x20, 0x1000b5d58\nMOV             X0, X20                                                ; +0x24, 0x1000b5d5c\nBL              LeaderboardsLayer__scene                               ; +0x28, 0x1000b5d60\nFMOV            S0, #0.5                                               ; +0x2c, 0x1000b5d64\nBL              cocos2d__CCTransitionFade__create_1                    ; +0x30, 0x1000b5d68\nMOV             X1, X0                                                 ; +0x34, 0x1000b5d6c\nMOV             X0, X19                                                ; +0x38, 0x1000b5d70\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1000b5d74\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1000b5d78\nB               cocos2d__CCDirector__pushScene                         ; +0x44, 0x1000b5d7c", "xrefs": ["CreatorLayer::init @ 0x1000b5468"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}