{"type": "func", "start": 4297688288, "end": 4297688365, "name": "CreatorLayer::onLeaderboards", "pseudocode": "// \n// CreatorLayer::onLeaderboards from 0x1002984e0 to 0x10029852d (77 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x100297a32\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; // rbx\n  LeaderboardType m_leaderboardType; // r14d\n  GameLevelManager *v4; // rax\n  cocos2d::CCScene *v5; // rax\n  cocos2d::CCTransitionFade *v6; // rax\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 0x1002984e0 to 0x10029852d (77 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x100297a32\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\npush    rbp                                                            ; +0x0, 0x1002984e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002984e1\npush    r14                                                            ; +0x4, 0x1002984e4\npush    rbx                                                            ; +0x6, 0x1002984e6\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x7, 0x1002984e7\nmov     rbx, rax                                                       ; +0xc, 0x1002984ec\ncall    GameLevelManager__sharedState                                  ; +0xf, 0x1002984ef\nmov     r14d, [rax+2C0h]                                               ; +0x14, 0x1002984f4\ncall    GameLevelManager__sharedState                                  ; +0x1b, 0x1002984fb\nmov     esi, [rax+2C4h]                                                ; +0x20, 0x100298500\nmov     edi, r14d                                                      ; +0x26, 0x100298506\ncall    LeaderboardsLayer__scene                                       ; +0x29, 0x100298509\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x2e, 0x10029850e\nmov     rdi, rax                                                       ; +0x36, 0x100298516\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x39, 0x100298519\nmov     rdi, rbx                                                       ; +0x3e, 0x10029851e\nmov     rsi, rax                                                       ; +0x41, 0x100298521\npop     rbx                                                            ; +0x44, 0x100298524\npop     r14                                                            ; +0x45, 0x100298525\npop     rbp                                                            ; +0x47, 0x100298527\njmp     cocos2d__CCDirector__pushScene                                 ; +0x48, 0x100298528", "xrefs": ["CreatorLayer::init @ 0x100297a32"], "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"}