{"type": "func", "start": 5375377456, "end": 5375377576, "name": "CheckpointGameObject::resetObject", "pseudocode": "// \n// CheckpointGameObject::resetObject from 0x14065c030 to 0x14065c0a8 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140824180\n// > <???> @ 0x140931970\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:35:47 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall CheckpointGameObject::resetObject(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 result; // rax\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  EnhancedGameObject::resetObject(a1);\n  if ( *(_BYTE *)(a1 + 653) )\n    return CheckpointGameObject::resetCheckpoint(a1);\n  v2 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v4 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v2 = qword_14090BFD0;\n  }\n  result = GameManager::getGameVariable(v2, \"0146\");\n  if ( (_BYTE)result )\n    return CheckpointGameObject::resetCheckpoint(a1);\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::resetObject from 0x14065c030 to 0x14065c0a8 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140824180\n; > <???> @ 0x140931970\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:35:47 +0000\n; \npush    rbx                                                            ; +0x0, 0x14065c030\nsub     rsp, 20h                                                       ; +0x2, 0x14065c032\nmov     rbx, rcx                                                       ; +0x6, 0x14065c036\ncall    EnhancedGameObject__resetObject                                ; +0x9, 0x14065c039\ncmp     byte ptr [rbx+28Dh], 0                                         ; +0xe, 0x14065c03e\njnz     short loc_14065C095                                            ; +0x15, 0x14065c045\nmov     rcx, cs:qword_14090BFD0                                        ; +0x17, 0x14065c047\ntest    rcx, rcx                                                       ; +0x1e, 0x14065c04e\njnz     short loc_14065C085                                            ; +0x21, 0x14065c051\nmov     ecx, 6E8h; Size                                                ; +0x23, 0x14065c053\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x28, 0x14065c058\nmov     [rsp+28h+arg_0], rax                                           ; +0x2d, 0x14065c05d\nmov     rcx, rax                                                       ; +0x32, 0x14065c062\ncall    GameManager__GameManager                                       ; +0x35, 0x14065c065\nnop                                                                    ; +0x3a, 0x14065c06a\nmov     cs:qword_14090BFD0, rax                                        ; +0x3b, 0x14065c06b\nmov     rcx, [rax]                                                     ; +0x42, 0x14065c072\nmov     rdx, [rcx+48h]                                                 ; +0x45, 0x14065c075\nmov     rcx, rax                                                       ; +0x49, 0x14065c079\ncall    rdx                                                            ; +0x4c, 0x14065c07c\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4e, 0x14065c07e\nlea     rdx, a0146; \"0146\"                                             ; +0x55, 0x14065c085\ncall    GameManager__getGameVariable                                   ; +0x5c, 0x14065c08c\ntest    al, al                                                         ; +0x61, 0x14065c091\njz      short loc_14065C0A2                                            ; +0x63, 0x14065c093\nmov     rcx, rbx                                                       ; +0x65, 0x14065c095\nadd     rsp, 20h                                                       ; +0x68, 0x14065c098\npop     rbx                                                            ; +0x6c, 0x14065c09c\njmp     CheckpointGameObject__resetCheckpoint                          ; +0x6d, 0x14065c09d\nadd     rsp, 20h                                                       ; +0x72, 0x14065c0a2\npop     rbx                                                            ; +0x76, 0x14065c0a6\nretn                                                                   ; +0x77, 0x14065c0a7", "xrefs": ["<???> @ 0x140824180", "<???> @ 0x140931970"], "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"}