{"type": "func", "start": 4297052224, "end": 4297052290, "name": "EditLevelLayer::onLevelLeaderboard", "pseudocode": "// \n// EditLevelLayer::onLevelLeaderboard from 0x1001fd040 to 0x1001fd082 (66 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001fb7c3\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; // rbx\n  GameManager *v3; // rax\n  LevelLeaderboardMode IntGameVariable; // eax\n  LevelLeaderboard *v5; // rax\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 0x1001fd040 to 0x1001fd082 (66 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001fb7c3\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, 0x1001fd040\nmov     rbp, rsp                                                       ; +0x1, 0x1001fd041\npush    rbx                                                            ; +0x4, 0x1001fd044\npush    rax                                                            ; +0x5, 0x1001fd045\nmov     rbx, [rdi+1C8h]                                                ; +0x6, 0x1001fd046\ncall    GameManager__sharedState                                       ; +0xd, 0x1001fd04d\nlea     rsi, a0164; \"0164\"                                             ; +0x12, 0x1001fd052\nmov     rdi, rax                                                       ; +0x19, 0x1001fd059\ncall    GameManager__getIntGameVariable                                ; +0x1c, 0x1001fd05c\nmov     rdi, rbx                                                       ; +0x21, 0x1001fd061\nmov     esi, 3                                                         ; +0x24, 0x1001fd064\nmov     edx, eax                                                       ; +0x29, 0x1001fd069\ncall    LevelLeaderboard__create                                       ; +0x2b, 0x1001fd06b\nmov     rcx, [rax]                                                     ; +0x30, 0x1001fd070\nmov     rdi, rax                                                       ; +0x33, 0x1001fd073\nadd     rsp, 8                                                         ; +0x36, 0x1001fd076\npop     rbx                                                            ; +0x3a, 0x1001fd07a\npop     rbp                                                            ; +0x3b, 0x1001fd07b\njmp     qword ptr [rcx+508h]                                           ; +0x3c, 0x1001fd07c", "xrefs": ["EditLevelLayer::init @ 0x1001fb7c3"], "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"}