{"type": "func", "start": 4296931424, "end": 4296931490, "name": "EditLevelLayer::onLevelLeaderboard", "pseudocode": "// \n// EditLevelLayer::onLevelLeaderboard from 0x1001df860 to 0x1001df8a2 (66 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001ddf44\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:26:27 +0000\n// \n\n__int64 __fastcall EditLevelLayer::onLevelLeaderboard(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  double v5; // xmm0_8\n  unsigned int v6; // eax\n  __int64 v7; // rax\n\n  v3 = *(_QWORD *)(a1 + 472);\n  GameManager::sharedState(a1, a2, a3);\n  *(_QWORD *)&v5 = GameManager::getIntGameVariable(v4, \"0164\").u64[0];\n  v7 = LevelLeaderboard::create(v3, 3, v6, v5);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7);\n}", "assembly": "; \n; EditLevelLayer::onLevelLeaderboard from 0x1001df860 to 0x1001df8a2 (66 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001ddf44\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:26:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001df860\nmov     rbp, rsp                                                       ; +0x1, 0x1001df861\npush    rbx                                                            ; +0x4, 0x1001df864\npush    rax                                                            ; +0x5, 0x1001df865\nmov     rbx, [rdi+1D8h]                                                ; +0x6, 0x1001df866\ncall    GameManager__sharedState                                       ; +0xd, 0x1001df86d\nlea     rsi, a0164; \"0164\"                                             ; +0x12, 0x1001df872\nmov     rdi, rax                                                       ; +0x19, 0x1001df879\ncall    GameManager__getIntGameVariable                                ; +0x1c, 0x1001df87c\nmov     rdi, rbx                                                       ; +0x21, 0x1001df881\nmov     esi, 3                                                         ; +0x24, 0x1001df884\nmov     edx, eax                                                       ; +0x29, 0x1001df889\ncall    LevelLeaderboard__create                                       ; +0x2b, 0x1001df88b\nmov     rcx, [rax]                                                     ; +0x30, 0x1001df890\nmov     rdi, rax                                                       ; +0x33, 0x1001df893\nadd     rsp, 8                                                         ; +0x36, 0x1001df896\npop     rbx                                                            ; +0x3a, 0x1001df89a\npop     rbp                                                            ; +0x3b, 0x1001df89b\njmp     qword ptr [rcx+520h]                                           ; +0x3c, 0x1001df89c", "xrefs": ["EditLevelLayer::init @ 0x1001ddf44"], "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"}