{"type": "func", "start": 4300499440, "end": 4300499504, "name": "GameLevelManager::getLowestLevelOrder", "pseudocode": "// \n// GameLevelManager::getLowestLevelOrder from 0x1005469f0 to 0x100546a30 (64 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::downloadLevel @ 0x1002acfae\n// > LevelInfoLayer::FLAlert_Clicked @ 0x1002b1b96\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:31:59 +0000\n// \n\n__int64 __fastcall GameLevelManager::getLowestLevelOrder(__int64 a1)\n{\n  __int64 v1; // rcx\n  __int64 result; // rax\n  __int64 v3; // rcx\n  __int64 v4; // rdx\n  int v5; // edx\n\n  v1 = *(_QWORD *)(a1 + 760);\n  result = 0;\n  if ( v1 )\n  {\n    v3 = *(_QWORD *)(v1 + 56);\n    if ( v3 )\n    {\n      result = 0;\n      do\n      {\n        v4 = *(_QWORD *)(v3 + 264);\n        v3 = *(_QWORD *)(v3 + 288);\n        v5 = *(_DWORD *)(v4 + 632);\n        if ( v5 < (int)result )\n          result = (unsigned int)v5;\n      }\n      while ( v3 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GameLevelManager::getLowestLevelOrder from 0x1005469f0 to 0x100546a30 (64 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::downloadLevel @ 0x1002acfae\n; > LevelInfoLayer::FLAlert_Clicked @ 0x1002b1b96\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:31:59 +0000\n; \nmov     rcx, [rdi+2F8h]                                                ; +0x0, 0x1005469f0\nxor     eax, eax                                                       ; +0x7, 0x1005469f7\ntest    rcx, rcx                                                       ; +0x9, 0x1005469f9\njz      short locret_100546A2F                                         ; +0xc, 0x1005469fc\npush    rbp                                                            ; +0xe, 0x1005469fe\nmov     rbp, rsp                                                       ; +0xf, 0x1005469ff\nmov     rcx, [rcx+38h]                                                 ; +0x12, 0x100546a02\ntest    rcx, rcx                                                       ; +0x16, 0x100546a06\njz      short loc_100546A2E                                            ; +0x19, 0x100546a09\nxor     eax, eax                                                       ; +0x1b, 0x100546a0b\nnop     dword ptr [rax]                                                ; +0x1d, 0x100546a0d\nmov     rdx, [rcx+108h]                                                ; +0x20, 0x100546a10\nmov     rcx, [rcx+120h]                                                ; +0x27, 0x100546a17\nmov     edx, [rdx+278h]                                                ; +0x2e, 0x100546a1e\ncmp     edx, eax                                                       ; +0x34, 0x100546a24\ncmovl   eax, edx                                                       ; +0x36, 0x100546a26\ntest    rcx, rcx                                                       ; +0x39, 0x100546a29\njnz     short loc_100546A10                                            ; +0x3c, 0x100546a2c\npop     rbp                                                            ; +0x3e, 0x100546a2e\nretn                                                                   ; +0x3f, 0x100546a2f", "xrefs": ["LevelInfoLayer::downloadLevel @ 0x1002acfae", "LevelInfoLayer::FLAlert_Clicked @ 0x1002b1b96"], "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"}