{"type": "func", "start": 4295930828, "end": 4295930896, "name": "EditLevelLayer::onLevelLeaderboard", "pseudocode": "// \n// EditLevelLayer::onLevelLeaderboard from 0x1000eb3cc to 0x1000eb410 (68 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1000e9cfc\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 EditLevelLayer::onLevelLeaderboard(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  GJGameLevel *m_level; // x19\n  GameManager *v3; // x0\n  LevelLeaderboardMode IntGameVariable; // w0\n  LevelLeaderboard *v5; // x0\n\n  m_level = a1->m_level;\n  v3 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0164\");\n  v5 = LevelLeaderboard::create(m_level, Local, IntGameVariable);\n  ((void (__fastcall *)(LevelLeaderboard *))v5->show)(v5);\n}", "assembly": "; \n; EditLevelLayer::onLevelLeaderboard from 0x1000eb3cc to 0x1000eb410 (68 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1000e9cfc\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, 0x1000eb3cc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000eb3d0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000eb3d4\nLDR             X19, [X0,#0x1C8]                                       ; +0xc, 0x1000eb3d8\nBL              GameManager__sharedState                               ; +0x10, 0x1000eb3dc\nADRL            X1, a0164; \"0164\"                                      ; +0x14, 0x1000eb3e0\nBL              GameManager__getIntGameVariable                        ; +0x1c, 0x1000eb3e8\nMOV             X2, X0                                                 ; +0x20, 0x1000eb3ec\nMOV             X0, X19                                                ; +0x24, 0x1000eb3f0\nMOV             W1, #3                                                 ; +0x28, 0x1000eb3f4\nBL              LevelLeaderboard__create                               ; +0x2c, 0x1000eb3f8\nLDR             X8, [X0]                                               ; +0x30, 0x1000eb3fc\nLDR             X1, [X8,#0x508]                                        ; +0x34, 0x1000eb400\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1000eb404\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1000eb408\nBR              X1                                                     ; +0x40, 0x1000eb40c", "xrefs": ["EditLevelLayer::init @ 0x1000e9cfc"], "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"}