{"type": "func", "start": 5373669312, "end": 5373669429, "name": "CheckpointGameObject::resetObject", "pseudocode": "// \n// CheckpointGameObject::resetObject from 0x1404bafc0 to 0x1404bb035 (117 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140611c18\n// > <???> @ 0x1406dcd64\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid CheckpointGameObject::resetObject(CheckpointGameObject *a1)\n{\n  GameManager *v2; // rcx\n  void *v3; // [rsp+30h] [rbp+8h]\n\n  EnhancedGameObject::resetObject(a1);\n  if ( a1->m_editorEnabled )\n    goto LABEL_5;\n  v2 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v3 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v3);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( GameManager::getGameVariable(v2, \"0146\") )\nLABEL_5:\n    CheckpointGameObject::resetCheckpoint(a1);\n}", "assembly": "; \n; CheckpointGameObject::resetObject from 0x1404bafc0 to 0x1404bb035 (117 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140611c18\n; > <???> @ 0x1406dcd64\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1404bafc0\nsub     rsp, 20h                                                       ; +0x2, 0x1404bafc2\nmov     rbx, rcx                                                       ; +0x6, 0x1404bafc6\ncall    EnhancedGameObject__resetObject                                ; +0x9, 0x1404bafc9\ncmp     byte ptr [rbx+28Dh], 0                                         ; +0xe, 0x1404bafce\njnz     short loc_1404BB022                                            ; +0x15, 0x1404bafd5\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x17, 0x1404bafd7\ntest    rcx, rcx                                                       ; +0x1e, 0x1404bafde\njnz     short loc_1404BB012                                            ; +0x21, 0x1404bafe1\nmov     ecx, 668h; Size                                                ; +0x23, 0x1404bafe3\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x28, 0x1404bafe8\nmov     [rsp+28h+arg_0], rax                                           ; +0x2d, 0x1404bafed\nmov     rcx, rax                                                       ; +0x32, 0x1404baff2\ncall    sub_14017AB00                                                  ; +0x35, 0x1404baff5\nnop                                                                    ; +0x3a, 0x1404baffa\nmov     cs:qword_1406C2ED8, rax                                        ; +0x3b, 0x1404baffb\nmov     rdx, [rax]                                                     ; +0x42, 0x1404bb002\nmov     rcx, rax                                                       ; +0x45, 0x1404bb005\ncall    qword ptr [rdx+48h]                                            ; +0x48, 0x1404bb008\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4b, 0x1404bb00b\nlea     rdx, a0146; \"0146\"                                             ; +0x52, 0x1404bb012\ncall    GameManager__getGameVariable                                   ; +0x59, 0x1404bb019\ntest    al, al                                                         ; +0x5e, 0x1404bb01e\njz      short loc_1404BB02F                                            ; +0x60, 0x1404bb020\nmov     rcx, rbx                                                       ; +0x62, 0x1404bb022\nadd     rsp, 20h                                                       ; +0x65, 0x1404bb025\npop     rbx                                                            ; +0x69, 0x1404bb029\njmp     CheckpointGameObject__resetCheckpoint                          ; +0x6a, 0x1404bb02a\nadd     rsp, 20h                                                       ; +0x6f, 0x1404bb02f\npop     rbx                                                            ; +0x73, 0x1404bb033\nretn                                                                   ; +0x74, 0x1404bb034", "xrefs": ["<???> @ 0x140611c18", "<???> @ 0x1406dcd64"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}