{"type": "func", "start": 4295866280, "end": 4295866352, "name": "CreatorLayer::onLeaderboards", "pseudocode": "// \n// CreatorLayer::onLeaderboards from 0x1000db7a8 to 0x1000db7f0 (72 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x1000dae08\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 10:58:59 +0000\n// \n\n__int64 __fastcall CreatorLayer::onLeaderboards(__int64 a1)\n{\n  __int64 v1; // x19\n  __int64 v2; // x20\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x1\n\n  v1 = cocos2d::CCDirector::sharedDirector(a1);\n  v2 = *(unsigned int *)(GameLevelManager::sharedState() + 1208);\n  v3 = GameLevelManager::sharedState();\n  v4 = LeaderboardsLayer::scene(v2, *(unsigned int *)(v3 + 1212));\n  v5 = cocos2d::CCTransitionFade::create_1(v4, 0.5);\n  return cocos2d::CCDirector::pushScene(v1, v5);\n}", "assembly": "; \n; CreatorLayer::onLeaderboards from 0x1000db7a8 to 0x1000db7f0 (72 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x1000dae08\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 10:58:59 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000db7a8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000db7ac\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000db7b0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0xc, 0x1000db7b4\nMOV             X19, X0                                                ; +0x10, 0x1000db7b8\nBL              GameLevelManager__sharedState                          ; +0x14, 0x1000db7bc\nLDR             W20, [X0,#0x4B8]                                       ; +0x18, 0x1000db7c0\nBL              GameLevelManager__sharedState                          ; +0x1c, 0x1000db7c4\nLDR             W1, [X0,#0x4BC]                                        ; +0x20, 0x1000db7c8\nMOV             X0, X20                                                ; +0x24, 0x1000db7cc\nBL              LeaderboardsLayer__scene                               ; +0x28, 0x1000db7d0\nFMOV            S0, #0.5                                               ; +0x2c, 0x1000db7d4\nBL              cocos2d__CCTransitionFade__create_1                    ; +0x30, 0x1000db7d8\nMOV             X1, X0                                                 ; +0x34, 0x1000db7dc\nMOV             X0, X19                                                ; +0x38, 0x1000db7e0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1000db7e4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1000db7e8\nB               cocos2d__CCDirector__pushScene                         ; +0x44, 0x1000db7ec", "xrefs": ["CreatorLayer::init @ 0x1000dae08"], "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"}