{"type": "func", "start": 5375377584, "end": 5375378021, "name": "CheckpointGameObject::resetCheckpoint", "pseudocode": "// \n// CheckpointGameObject::resetCheckpoint from 0x14065c0b0 to 0x14065c265 (437 bytes)\n// \n// 3 xrefs:\n// > CheckpointGameObject::resetObject @ 0x14065c09d\n// > CheckpointGameObject::restoreObject @ 0x14065c282\n// > <???> @ 0x14093197c\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__int64 __fastcall CheckpointGameObject::resetCheckpoint(__int64 *a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rax\n  __int64 v4; // rdx\n  char v5; // bl\n  __int64 v6; // rax\n  __int64 v7; // rdx\n  char v8; // bl\n  __int64 v9; // rax\n  __int64 v10; // rdx\n  __int64 v11; // rax\n  char v12; // bl\n  __int64 v13; // rax\n  __int64 v14; // rdx\n  char v15; // bl\n  __int64 v16; // rax\n  __int64 v17; // rdx\n  char v18; // bl\n  __int64 v19; // rax\n  __int64 v20; // rdx\n  __int64 v21; // rax\n  __int64 result; // rax\n\n  v1 = *a1;\n  *((_BYTE *)a1 + 1856) = 0;\n  v3 = (*(__int64 (__fastcall **)(__int64 *, __int64))(v1 + 472))(a1, 1125);\n  v4 = *(_QWORD *)v3;\n  LOBYTE(v4) = 1;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 336LL))(v3, v4);\n  v5 = *((_BYTE *)a1 + 1856);\n  v6 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1126);\n  LOBYTE(v7) = v5 == 0;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 336LL))(v6, v7);\n  v8 = *((_BYTE *)a1 + 1856);\n  v9 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1127);\n  LOBYTE(v10) = v8 == 0;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 336LL))(v9, v10);\n  v11 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1128);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 336LL))(v11, *((unsigned __int8 *)a1 + 1856));\n  v12 = *((_BYTE *)a1 + 1856);\n  v13 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1125);\n  LOBYTE(v14) = v12 == 0;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 336LL))(v13, v14);\n  v15 = *((_BYTE *)a1 + 1856);\n  v16 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1126);\n  LOBYTE(v17) = v15 == 0;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 336LL))(v16, v17);\n  v18 = *((_BYTE *)a1 + 1856);\n  v19 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1127);\n  LOBYTE(v20) = v18 == 0;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v19 + 336LL))(v19, v20);\n  v21 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1128);\n  result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v21 + 336LL))(v21, *((unsigned __int8 *)a1 + 1856));\n  if ( *((_BYTE *)a1 + 1856) )\n  {\n    result = (*(__int64 (__fastcall **)(__int64 *, __int16 *))(*a1 + 1344))(a1, &word_1407046D4);\n    *((_BYTE *)a1 + 644) = 1;\n  }\n  else\n  {\n    *((_BYTE *)a1 + 644) = 0;\n  }\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::resetCheckpoint from 0x14065c0b0 to 0x14065c265 (437 bytes)\n; \n; 3 xrefs:\n; > CheckpointGameObject::resetObject @ 0x14065c09d\n; > CheckpointGameObject::restoreObject @ 0x14065c282\n; > <???> @ 0x14093197c\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14065c0b0\npush    rdi                                                            ; +0x5, 0x14065c0b5\nsub     rsp, 20h                                                       ; +0x6, 0x14065c0b6\nmov     rax, [rcx]                                                     ; +0xa, 0x14065c0ba\nmov     edx, 465h                                                      ; +0xd, 0x14065c0bd\nmov     rdi, rcx                                                       ; +0x12, 0x14065c0c2\nmov     byte ptr [rcx+740h], 0                                         ; +0x15, 0x14065c0c5\ncall    qword ptr [rax+1D8h]                                           ; +0x1c, 0x14065c0cc\nmov     rcx, rax                                                       ; +0x22, 0x14065c0d2\nmov     rdx, [rax]                                                     ; +0x25, 0x14065c0d5\nmov     r8, [rdx+150h]                                                 ; +0x28, 0x14065c0d8\nmov     dl, 1                                                          ; +0x2f, 0x14065c0df\ncall    r8                                                             ; +0x31, 0x14065c0e1\nmov     rax, [rdi]                                                     ; +0x34, 0x14065c0e4\nmov     edx, 466h                                                      ; +0x37, 0x14065c0e7\nmovzx   ebx, byte ptr [rdi+740h]                                       ; +0x3c, 0x14065c0ec\nmov     rcx, rdi                                                       ; +0x43, 0x14065c0f3\ncall    qword ptr [rax+1D8h]                                           ; +0x46, 0x14065c0f6\ntest    bl, bl                                                         ; +0x4c, 0x14065c0fc\nsetz    dl                                                             ; +0x4e, 0x14065c0fe\nmov     rcx, [rax]                                                     ; +0x51, 0x14065c101\nmov     r8, [rcx+150h]                                                 ; +0x54, 0x14065c104\nmov     rcx, rax                                                       ; +0x5b, 0x14065c10b\ncall    r8                                                             ; +0x5e, 0x14065c10e\nmov     rax, [rdi]                                                     ; +0x61, 0x14065c111\nmov     edx, 467h                                                      ; +0x64, 0x14065c114\nmovzx   ebx, byte ptr [rdi+740h]                                       ; +0x69, 0x14065c119\nmov     rcx, rdi                                                       ; +0x70, 0x14065c120\ncall    qword ptr [rax+1D8h]                                           ; +0x73, 0x14065c123\ntest    bl, bl                                                         ; +0x79, 0x14065c129\nsetz    dl                                                             ; +0x7b, 0x14065c12b\nmov     rcx, [rax]                                                     ; +0x7e, 0x14065c12e\nmov     r8, [rcx+150h]                                                 ; +0x81, 0x14065c131\nmov     rcx, rax                                                       ; +0x88, 0x14065c138\ncall    r8                                                             ; +0x8b, 0x14065c13b\nmov     rax, [rdi]                                                     ; +0x8e, 0x14065c13e\nmov     edx, 468h                                                      ; +0x91, 0x14065c141\nmov     rcx, rdi                                                       ; +0x96, 0x14065c146\ncall    qword ptr [rax+1D8h]                                           ; +0x99, 0x14065c149\nmovzx   edx, byte ptr [rdi+740h]                                       ; +0x9f, 0x14065c14f\nmov     rcx, [rax]                                                     ; +0xa6, 0x14065c156\nmov     r8, [rcx+150h]                                                 ; +0xa9, 0x14065c159\nmov     rcx, rax                                                       ; +0xb0, 0x14065c160\ncall    r8                                                             ; +0xb3, 0x14065c163\nmov     rcx, [rdi+380h]                                                ; +0xb6, 0x14065c166\nmov     edx, 465h                                                      ; +0xbd, 0x14065c16d\nmovzx   ebx, byte ptr [rdi+740h]                                       ; +0xc2, 0x14065c172\nmov     rax, [rcx]                                                     ; +0xc9, 0x14065c179\ncall    qword ptr [rax+1D8h]                                           ; +0xcc, 0x14065c17c\ntest    bl, bl                                                         ; +0xd2, 0x14065c182\nsetz    dl                                                             ; +0xd4, 0x14065c184\nmov     rcx, [rax]                                                     ; +0xd7, 0x14065c187\nmov     r8, [rcx+150h]                                                 ; +0xda, 0x14065c18a\nmov     rcx, rax                                                       ; +0xe1, 0x14065c191\ncall    r8                                                             ; +0xe4, 0x14065c194\nmov     rcx, [rdi+380h]                                                ; +0xe7, 0x14065c197\nmov     edx, 466h                                                      ; +0xee, 0x14065c19e\nmovzx   ebx, byte ptr [rdi+740h]                                       ; +0xf3, 0x14065c1a3\nmov     rax, [rcx]                                                     ; +0xfa, 0x14065c1aa\ncall    qword ptr [rax+1D8h]                                           ; +0xfd, 0x14065c1ad\ntest    bl, bl                                                         ; +0x103, 0x14065c1b3\nsetz    dl                                                             ; +0x105, 0x14065c1b5\nmov     rcx, [rax]                                                     ; +0x108, 0x14065c1b8\nmov     r8, [rcx+150h]                                                 ; +0x10b, 0x14065c1bb\nmov     rcx, rax                                                       ; +0x112, 0x14065c1c2\ncall    r8                                                             ; +0x115, 0x14065c1c5\nmov     rcx, [rdi+380h]                                                ; +0x118, 0x14065c1c8\nmov     edx, 467h                                                      ; +0x11f, 0x14065c1cf\nmovzx   ebx, byte ptr [rdi+740h]                                       ; +0x124, 0x14065c1d4\nmov     rax, [rcx]                                                     ; +0x12b, 0x14065c1db\ncall    qword ptr [rax+1D8h]                                           ; +0x12e, 0x14065c1de\ntest    bl, bl                                                         ; +0x134, 0x14065c1e4\nsetz    dl                                                             ; +0x136, 0x14065c1e6\nmov     rcx, [rax]                                                     ; +0x139, 0x14065c1e9\nmov     r8, [rcx+150h]                                                 ; +0x13c, 0x14065c1ec\nmov     rcx, rax                                                       ; +0x143, 0x14065c1f3\ncall    r8                                                             ; +0x146, 0x14065c1f6\nmov     rcx, [rdi+380h]                                                ; +0x149, 0x14065c1f9\nmov     edx, 468h                                                      ; +0x150, 0x14065c200\nmov     rax, [rcx]                                                     ; +0x155, 0x14065c205\ncall    qword ptr [rax+1D8h]                                           ; +0x158, 0x14065c208\nmovzx   edx, byte ptr [rdi+740h]                                       ; +0x15e, 0x14065c20e\nmov     rcx, [rax]                                                     ; +0x165, 0x14065c215\nmov     r8, [rcx+150h]                                                 ; +0x168, 0x14065c218\nmov     rcx, rax                                                       ; +0x16f, 0x14065c21f\ncall    r8                                                             ; +0x172, 0x14065c222\ncmp     byte ptr [rdi+740h], 0                                         ; +0x175, 0x14065c225\njz      short loc_14065C253                                            ; +0x17c, 0x14065c22c\nmov     rax, [rdi]                                                     ; +0x17e, 0x14065c22e\nlea     rdx, word_1407046D4                                            ; +0x181, 0x14065c231\nmov     rcx, rdi                                                       ; +0x188, 0x14065c238\ncall    qword ptr [rax+540h]                                           ; +0x18b, 0x14065c23b\nmov     byte ptr [rdi+284h], 1                                         ; +0x191, 0x14065c241\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x198, 0x14065c248\nadd     rsp, 20h                                                       ; +0x19d, 0x14065c24d\npop     rdi                                                            ; +0x1a1, 0x14065c251\nretn                                                                   ; +0x1a2, 0x14065c252\nmov     byte ptr [rdi+284h], 0                                         ; +0x1a3, 0x14065c253\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1aa, 0x14065c25a\nadd     rsp, 20h                                                       ; +0x1af, 0x14065c25f\npop     rdi                                                            ; +0x1b3, 0x14065c263\nretn                                                                   ; +0x1b4, 0x14065c264", "xrefs": ["CheckpointGameObject::resetObject @ 0x14065c09d", "CheckpointGameObject::restoreObject @ 0x14065c282", "<???> @ 0x14093197c"], "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"}