{"type": "func", "start": 4300499376, "end": 4300499440, "name": "GameLevelManager::getHighestLevelOrder", "pseudocode": "// \n// GameLevelManager::getHighestLevelOrder from 0x1005469b0 to 0x1005469f0 (64 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::downloadLevel @ 0x1002acfbd\n// > LevelInfoLayer::FLAlert_Clicked @ 0x1002b1b38\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::getHighestLevelOrder(__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::getHighestLevelOrder from 0x1005469b0 to 0x1005469f0 (64 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::downloadLevel @ 0x1002acfbd\n; > LevelInfoLayer::FLAlert_Clicked @ 0x1002b1b38\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, 0x1005469b0\nxor     eax, eax                                                       ; +0x7, 0x1005469b7\ntest    rcx, rcx                                                       ; +0x9, 0x1005469b9\njz      short locret_1005469EF                                         ; +0xc, 0x1005469bc\npush    rbp                                                            ; +0xe, 0x1005469be\nmov     rbp, rsp                                                       ; +0xf, 0x1005469bf\nmov     rcx, [rcx+38h]                                                 ; +0x12, 0x1005469c2\ntest    rcx, rcx                                                       ; +0x16, 0x1005469c6\njz      short loc_1005469EE                                            ; +0x19, 0x1005469c9\nxor     eax, eax                                                       ; +0x1b, 0x1005469cb\nnop     dword ptr [rax]                                                ; +0x1d, 0x1005469cd\nmov     rdx, [rcx+108h]                                                ; +0x20, 0x1005469d0\nmov     rcx, [rcx+120h]                                                ; +0x27, 0x1005469d7\nmov     edx, [rdx+278h]                                                ; +0x2e, 0x1005469de\ncmp     edx, eax                                                       ; +0x34, 0x1005469e4\ncmovg   eax, edx                                                       ; +0x36, 0x1005469e6\ntest    rcx, rcx                                                       ; +0x39, 0x1005469e9\njnz     short loc_1005469D0                                            ; +0x3c, 0x1005469ec\npop     rbp                                                            ; +0x3e, 0x1005469ee\nretn                                                                   ; +0x3f, 0x1005469ef", "xrefs": ["LevelInfoLayer::downloadLevel @ 0x1002acfbd", "LevelInfoLayer::FLAlert_Clicked @ 0x1002b1b38"], "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"}