{"type": "func", "start": 4298597360, "end": 4298597469, "name": "GameManager::saveFinished", "pseudocode": "// \n// GameManager::saveFinished from 0x1003763f0 to 0x10037645d (109 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b270c8\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:29:04 +0000\n// \n\nvoid __fastcall GameManager::saveFinished(__int64 a1, int a2, double a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // r14\n  __int64 i; // r15\n\n  if ( a2 )\n  {\n    v3 = GameLevelManager::sharedState(a3);\n    sub_10054DBF0(v3, a1 + 352);\n  }\n  v4 = *(_QWORD *)(a1 + 352);\n  for ( i = *(_QWORD *)(a1 + 360); i != v4; i -= 32 )\n  {\n    if ( (*(_BYTE *)(i - 32) & 1) != 0 )\n      operator delete(*(void **)(i - 16));\n  }\n  *(_QWORD *)(a1 + 360) = v4;\n}", "assembly": "; \n; GameManager::saveFinished from 0x1003763f0 to 0x10037645d (109 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b270c8\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:29:04 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003763f0\nmov     rbp, rsp                                                       ; +0x1, 0x1003763f1\npush    r15                                                            ; +0x4, 0x1003763f4\npush    r14                                                            ; +0x6, 0x1003763f6\npush    rbx                                                            ; +0x8, 0x1003763f8\npush    rax                                                            ; +0x9, 0x1003763f9\nmov     rbx, rdi                                                       ; +0xa, 0x1003763fa\ntest    esi, esi                                                       ; +0xd, 0x1003763fd\njz      short loc_100376415                                            ; +0xf, 0x1003763ff\ncall    GameLevelManager__sharedState                                  ; +0x11, 0x100376401\nlea     rsi, [rbx+160h]                                                ; +0x16, 0x100376406\nmov     rdi, rax                                                       ; +0x1d, 0x10037640d\ncall    sub_10054DBF0                                                  ; +0x20, 0x100376410\nmov     r14, [rbx+160h]                                                ; +0x25, 0x100376415\nmov     r15, [rbx+168h]                                                ; +0x2c, 0x10037641c\njmp     short loc_100376434                                            ; +0x33, 0x100376423\nalign 10h                                                              ; +0x35, 0x100376425\nadd     r15, 0FFFFFFFFFFFFFFE0h                                        ; +0x40, 0x100376430\ncmp     r15, r14                                                       ; +0x44, 0x100376434\njz      short loc_10037644B                                            ; +0x47, 0x100376437\ntest    byte ptr [r15-20h], 1                                          ; +0x49, 0x100376439\njz      short loc_100376430                                            ; +0x4e, 0x10037643e\nmov     rdi, [r15-10h]; __p                                            ; +0x50, 0x100376440\ncall    __ZdlPv; operator delete(void *)                               ; +0x54, 0x100376444\njmp     short loc_100376430                                            ; +0x59, 0x100376449\nmov     [rbx+168h], r14                                                ; +0x5b, 0x10037644b\nadd     rsp, 8                                                         ; +0x62, 0x100376452\npop     rbx                                                            ; +0x66, 0x100376456\npop     r14                                                            ; +0x67, 0x100376457\npop     r15                                                            ; +0x69, 0x100376459\npop     rbp                                                            ; +0x6b, 0x10037645b\nretn                                                                   ; +0x6c, 0x10037645c", "xrefs": ["<???> @ 0x100b270c8"], "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"}