{"type": "func", "start": 4297601264, "end": 4297601341, "name": "CreatorLayer::onLeaderboards", "pseudocode": "// \n// CreatorLayer::onLeaderboards from 0x1002830f0 to 0x10028313d (77 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x1002824a3\n// \n// This function is hookable on this platform (idp: pc, 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:27:44 +0000\n// \n\n__int64 __fastcall CreatorLayer::onLeaderboards(__int64 a1, __int64 a2, double a3)\n{\n  __int64 v3; // rbx\n  unsigned int v4; // r14d\n  __int64 v5; // rax\n  __int64 v6; // rax\n  char *v7; // rax\n\n  v3 = cocos2d::CCDirector::sharedDirector(a1, a2);\n  v4 = *(_DWORD *)(GameLevelManager::sharedState(a3) + 1208);\n  v5 = GameLevelManager::sharedState(a3);\n  v6 = LeaderboardsLayer::scene(v4, *(unsigned int *)(v5 + 1212));\n  v7 = cocos2d::CCTransitionFade::create_1(v6, 0.5);\n  return cocos2d::CCDirector::pushScene(v3, v7);\n}", "assembly": "; \n; CreatorLayer::onLeaderboards from 0x1002830f0 to 0x10028313d (77 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x1002824a3\n; \n; This function is hookable on this platform (idp: pc, 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:27:44 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002830f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002830f1\npush    r14                                                            ; +0x4, 0x1002830f4\npush    rbx                                                            ; +0x6, 0x1002830f6\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x7, 0x1002830f7\nmov     rbx, rax                                                       ; +0xc, 0x1002830fc\ncall    GameLevelManager__sharedState                                  ; +0xf, 0x1002830ff\nmov     r14d, [rax+4B8h]                                               ; +0x14, 0x100283104\ncall    GameLevelManager__sharedState                                  ; +0x1b, 0x10028310b\nmov     esi, [rax+4BCh]                                                ; +0x20, 0x100283110\nmov     edi, r14d                                                      ; +0x26, 0x100283116\ncall    LeaderboardsLayer__scene                                       ; +0x29, 0x100283119\nmovss   xmm0, cs:dword_100A03578                                       ; +0x2e, 0x10028311e\nmov     rdi, rax                                                       ; +0x36, 0x100283126\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x39, 0x100283129\nmov     rdi, rbx                                                       ; +0x3e, 0x10028312e\nmov     rsi, rax                                                       ; +0x41, 0x100283131\npop     rbx                                                            ; +0x44, 0x100283134\npop     r14                                                            ; +0x45, 0x100283135\npop     rbp                                                            ; +0x47, 0x100283137\njmp     cocos2d__CCDirector__pushScene                                 ; +0x48, 0x100283138", "xrefs": ["CreatorLayer::init @ 0x1002824a3"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}