{"type": "func", "start": 4296761104, "end": 4296761479, "name": "CheckpointGameObject::updateCheckpointSpriteVisibility", "pseudocode": "// \n// CheckpointGameObject::updateCheckpointSpriteVisibility from 0x1001b5f10 to 0x1001b6087 (375 bytes)\n// \n// 4 xrefs:\n// > CheckpointGameObject::triggerActivated @ 0x1001b5dfa\n// > CheckpointGameObject::resetObject @ 0x1001b794f\n// > CheckpointGameObject::resetCheckpoint @ 0x1001b796c\n// > CheckpointGameObject::restoreObject @ 0x1001b7999\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:26:11 +0000\n// \n\nchar __fastcall CheckpointGameObject::updateCheckpointSpriteVisibility(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rax\n  char result; // al\n\n  v2 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1125);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, *(unsigned __int8 *)(a1 + 1840) ^ 1u);\n  v3 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1126);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, *(unsigned __int8 *)(a1 + 1840) ^ 1u);\n  v4 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1127);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, *(unsigned __int8 *)(a1 + 1840) ^ 1u);\n  v5 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1128);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, *(unsigned __int8 *)(a1 + 1840));\n  v6 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1125);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, *(unsigned __int8 *)(a1 + 1840) ^ 1u);\n  v7 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1126);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 344LL))(v7, *(unsigned __int8 *)(a1 + 1840) ^ 1u);\n  v8 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1127);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, *(unsigned __int8 *)(a1 + 1840) ^ 1u);\n  v9 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1128);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 344LL))(v9, *(unsigned __int8 *)(a1 + 1840));\n  if ( *(_BYTE *)(a1 + 1840) == 1 )\n  {\n    (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)a1 + 1496LL))(a1, &unk_100A054C8);\n    result = 1;\n  }\n  else\n  {\n    result = 0;\n  }\n  *(_BYTE *)(a1 + 640) = result;\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::updateCheckpointSpriteVisibility from 0x1001b5f10 to 0x1001b6087 (375 bytes)\n; \n; 4 xrefs:\n; > CheckpointGameObject::triggerActivated @ 0x1001b5dfa\n; > CheckpointGameObject::resetObject @ 0x1001b794f\n; > CheckpointGameObject::resetCheckpoint @ 0x1001b796c\n; > CheckpointGameObject::restoreObject @ 0x1001b7999\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:26:11 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001b5f10\nmov     rbp, rsp                                                       ; +0x1, 0x1001b5f11\npush    rbx                                                            ; +0x4, 0x1001b5f14\npush    rax                                                            ; +0x5, 0x1001b5f15\nmov     rbx, rdi                                                       ; +0x6, 0x1001b5f16\nmov     rax, [rdi]                                                     ; +0x9, 0x1001b5f19\nmov     esi, 465h                                                      ; +0xc, 0x1001b5f1c\ncall    qword ptr [rax+1E0h]                                           ; +0x11, 0x1001b5f21\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0x17, 0x1001b5f27\nmov     rcx, [rax]                                                     ; +0x1e, 0x1001b5f2e\nxor     esi, 1                                                         ; +0x21, 0x1001b5f31\nmov     rdi, rax                                                       ; +0x24, 0x1001b5f34\ncall    qword ptr [rcx+158h]                                           ; +0x27, 0x1001b5f37\nmov     rax, [rbx]                                                     ; +0x2d, 0x1001b5f3d\nmov     rdi, rbx                                                       ; +0x30, 0x1001b5f40\nmov     esi, 466h                                                      ; +0x33, 0x1001b5f43\ncall    qword ptr [rax+1E0h]                                           ; +0x38, 0x1001b5f48\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0x3e, 0x1001b5f4e\nmov     rcx, [rax]                                                     ; +0x45, 0x1001b5f55\nxor     esi, 1                                                         ; +0x48, 0x1001b5f58\nmov     rdi, rax                                                       ; +0x4b, 0x1001b5f5b\ncall    qword ptr [rcx+158h]                                           ; +0x4e, 0x1001b5f5e\nmov     rax, [rbx]                                                     ; +0x54, 0x1001b5f64\nmov     rdi, rbx                                                       ; +0x57, 0x1001b5f67\nmov     esi, 467h                                                      ; +0x5a, 0x1001b5f6a\ncall    qword ptr [rax+1E0h]                                           ; +0x5f, 0x1001b5f6f\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0x65, 0x1001b5f75\nmov     rcx, [rax]                                                     ; +0x6c, 0x1001b5f7c\nxor     esi, 1                                                         ; +0x6f, 0x1001b5f7f\nmov     rdi, rax                                                       ; +0x72, 0x1001b5f82\ncall    qword ptr [rcx+158h]                                           ; +0x75, 0x1001b5f85\nmov     rax, [rbx]                                                     ; +0x7b, 0x1001b5f8b\nmov     rdi, rbx                                                       ; +0x7e, 0x1001b5f8e\nmov     esi, 468h                                                      ; +0x81, 0x1001b5f91\ncall    qword ptr [rax+1E0h]                                           ; +0x86, 0x1001b5f96\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0x8c, 0x1001b5f9c\nmov     rcx, [rax]                                                     ; +0x93, 0x1001b5fa3\nmov     rdi, rax                                                       ; +0x96, 0x1001b5fa6\ncall    qword ptr [rcx+158h]                                           ; +0x99, 0x1001b5fa9\nmov     rdi, [rbx+378h]                                                ; +0x9f, 0x1001b5faf\nmov     rax, [rdi]                                                     ; +0xa6, 0x1001b5fb6\nmov     esi, 465h                                                      ; +0xa9, 0x1001b5fb9\ncall    qword ptr [rax+1E0h]                                           ; +0xae, 0x1001b5fbe\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0xb4, 0x1001b5fc4\nmov     rcx, [rax]                                                     ; +0xbb, 0x1001b5fcb\nxor     esi, 1                                                         ; +0xbe, 0x1001b5fce\nmov     rdi, rax                                                       ; +0xc1, 0x1001b5fd1\ncall    qword ptr [rcx+158h]                                           ; +0xc4, 0x1001b5fd4\nmov     rdi, [rbx+378h]                                                ; +0xca, 0x1001b5fda\nmov     rax, [rdi]                                                     ; +0xd1, 0x1001b5fe1\nmov     esi, 466h                                                      ; +0xd4, 0x1001b5fe4\ncall    qword ptr [rax+1E0h]                                           ; +0xd9, 0x1001b5fe9\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0xdf, 0x1001b5fef\nmov     rcx, [rax]                                                     ; +0xe6, 0x1001b5ff6\nxor     esi, 1                                                         ; +0xe9, 0x1001b5ff9\nmov     rdi, rax                                                       ; +0xec, 0x1001b5ffc\ncall    qword ptr [rcx+158h]                                           ; +0xef, 0x1001b5fff\nmov     rdi, [rbx+378h]                                                ; +0xf5, 0x1001b6005\nmov     rax, [rdi]                                                     ; +0xfc, 0x1001b600c\nmov     esi, 467h                                                      ; +0xff, 0x1001b600f\ncall    qword ptr [rax+1E0h]                                           ; +0x104, 0x1001b6014\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0x10a, 0x1001b601a\nmov     rcx, [rax]                                                     ; +0x111, 0x1001b6021\nxor     esi, 1                                                         ; +0x114, 0x1001b6024\nmov     rdi, rax                                                       ; +0x117, 0x1001b6027\ncall    qword ptr [rcx+158h]                                           ; +0x11a, 0x1001b602a\nmov     rdi, [rbx+378h]                                                ; +0x120, 0x1001b6030\nmov     rax, [rdi]                                                     ; +0x127, 0x1001b6037\nmov     esi, 468h                                                      ; +0x12a, 0x1001b603a\ncall    qword ptr [rax+1E0h]                                           ; +0x12f, 0x1001b603f\nmovzx   esi, byte ptr [rbx+730h]                                       ; +0x135, 0x1001b6045\nmov     rcx, [rax]                                                     ; +0x13c, 0x1001b604c\nmov     rdi, rax                                                       ; +0x13f, 0x1001b604f\ncall    qword ptr [rcx+158h]                                           ; +0x142, 0x1001b6052\ncmp     byte ptr [rbx+730h], 1                                         ; +0x148, 0x1001b6058\njnz     short loc_1001B6078                                            ; +0x14f, 0x1001b605f\nmov     rax, [rbx]                                                     ; +0x151, 0x1001b6061\nlea     rsi, unk_100A054C8                                             ; +0x154, 0x1001b6064\nmov     rdi, rbx                                                       ; +0x15b, 0x1001b606b\ncall    qword ptr [rax+5D8h]                                           ; +0x15e, 0x1001b606e\nmov     al, 1                                                          ; +0x164, 0x1001b6074\njmp     short loc_1001B607A                                            ; +0x166, 0x1001b6076\nxor     eax, eax                                                       ; +0x168, 0x1001b6078\nmov     [rbx+280h], al                                                 ; +0x16a, 0x1001b607a\nadd     rsp, 8                                                         ; +0x170, 0x1001b6080\npop     rbx                                                            ; +0x174, 0x1001b6084\npop     rbp                                                            ; +0x175, 0x1001b6085\nretn                                                                   ; +0x176, 0x1001b6086", "xrefs": ["CheckpointGameObject::triggerActivated @ 0x1001b5dfa", "CheckpointGameObject::resetObject @ 0x1001b794f", "CheckpointGameObject::resetCheckpoint @ 0x1001b796c", "CheckpointGameObject::restoreObject @ 0x1001b7999"], "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"}