{"type": "func", "start": 5373038144, "end": 5373038248, "name": "LevelInfoLayer::levelUpdateFinished", "pseudocode": "// \n// LevelInfoLayer::levelUpdateFinished from 0x140420e40 to 0x140420ea8 (104 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078c660\n// > <???> @ 0x1409267f8\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 11:32:09 +0000\n// \n\n__int64 __fastcall LevelInfoLayer::levelUpdateFinished(__int64 a1, __int64 a2, unsigned int a3)\n{\n  __int64 v3; // rax\n  int v6; // r9d\n  __int64 result; // rax\n\n  v3 = *(_QWORD *)(a1 + 88);\n  if ( !v3\n    || (v6 = *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332),\n        result = (unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332)),\n        v6 == (_DWORD)result) )\n  {\n    if ( !*(_BYTE *)(a1 + 228) )\n      LevelInfoLayer::showUpdateAlert(a1, a3);\n    result = (**(__int64 (__fastcall ***)(__int64, __int64))(a1 - 8))(a1 - 8, a2);\n    *(_BYTE *)(a1 + 228) = 0;\n  }\n  return result;\n}", "assembly": "; \n; LevelInfoLayer::levelUpdateFinished from 0x140420e40 to 0x140420ea8 (104 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078c660\n; > <???> @ 0x1409267f8\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 11:32:09 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140420e40\npush    rdi                                                            ; +0x5, 0x140420e45\nsub     rsp, 20h                                                       ; +0x6, 0x140420e46\nmov     rax, [rcx+58h]                                                 ; +0xa, 0x140420e4a\nmov     rdi, rdx                                                       ; +0xe, 0x140420e4e\nmov     rbx, rcx                                                       ; +0x11, 0x140420e51\ntest    rax, rax                                                       ; +0x14, 0x140420e54\njz      short loc_140420E78                                            ; +0x17, 0x140420e57\nmov     r9d, [rax+148h]                                                ; +0x19, 0x140420e59\nsub     r9d, [rax+14Ch]                                                ; +0x20, 0x140420e60\nmov     eax, [rdx+148h]                                                ; +0x27, 0x140420e67\nsub     eax, [rdx+14Ch]                                                ; +0x2d, 0x140420e6d\ncmp     r9d, eax                                                       ; +0x33, 0x140420e73\njnz     short loc_140420E9D                                            ; +0x36, 0x140420e76\ncmp     byte ptr [rcx+0E4h], 0                                         ; +0x38, 0x140420e78\njnz     short loc_140420E89                                            ; +0x3f, 0x140420e7f\nmov     edx, r8d                                                       ; +0x41, 0x140420e81\ncall    LevelInfoLayer__showUpdateAlert                                ; +0x44, 0x140420e84\nmov     rax, [rbx-8]                                                   ; +0x49, 0x140420e89\nlea     rcx, [rbx-8]                                                   ; +0x4d, 0x140420e8d\nmov     rdx, rdi                                                       ; +0x51, 0x140420e91\ncall    qword ptr [rax]                                                ; +0x54, 0x140420e94\nmov     byte ptr [rbx+0E4h], 0                                         ; +0x56, 0x140420e96\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5d, 0x140420e9d\nadd     rsp, 20h                                                       ; +0x62, 0x140420ea2\npop     rdi                                                            ; +0x66, 0x140420ea6\nretn                                                                   ; +0x67, 0x140420ea7", "xrefs": ["<???> @ 0x14078c660", "<???> @ 0x1409267f8"], "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"}