{"type": "func", "start": 8907856, "end": 8908264, "name": "CheckpointGameObject::updateCheckpointSpriteVisibility", "pseudocode": "// \n// CheckpointGameObject::updateCheckpointSpriteVisibility from 0x87ec50 to 0x87ede8 (408 bytes)\n// \n// 3 xrefs:\n// > CheckpointGameObject::triggerActivated @ 0x87eebc\n// > CheckpointGameObject::resetCheckpoint @ 0x87f420\n// > <???> @ 0x93a48\n// \n// This function is hookable on this platform (idp: arm, 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:55:54 +0000\n// \n\n__int64 __fastcall CheckpointGameObject::updateCheckpointSpriteVisibility(CheckpointGameObject *this)\n{\n  __int64 v2; // x0\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 v7; // x0\n  __int64 v8; // x0\n  __int64 v9; // x0\n  __int64 result; // x0\n\n  v2 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1125);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, *((unsigned __int8 *)this + 1840) ^ 1u);\n  v3 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1126);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, *((unsigned __int8 *)this + 1840) ^ 1u);\n  v4 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1127);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, *((unsigned __int8 *)this + 1840) ^ 1u);\n  v5 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1128);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, *((unsigned __int8 *)this + 1840));\n  v6 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(*((_QWORD *)this + 111), 1125);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, *((unsigned __int8 *)this + 1840) ^ 1u);\n  v7 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(*((_QWORD *)this + 111), 1126);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 344LL))(v7, *((unsigned __int8 *)this + 1840) ^ 1u);\n  v8 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(*((_QWORD *)this + 111), 1127);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, *((unsigned __int8 *)this + 1840) ^ 1u);\n  v9 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(*((_QWORD *)this + 111), 1128);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 344LL))(v9, *((unsigned __int8 *)this + 1840));\n  result = *((unsigned __int8 *)this + 1840);\n  if ( *((_BYTE *)this + 1840) )\n  {\n    (*(void (__fastcall **)(CheckpointGameObject *, void *))(*(_QWORD *)this + 1496LL))(this, &unk_114B748);\n    *((_BYTE *)this + 640) = 1;\n    return 1;\n  }\n  else\n  {\n    *((_BYTE *)this + 640) = 0;\n  }\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::updateCheckpointSpriteVisibility from 0x87ec50 to 0x87ede8 (408 bytes)\n; \n; 3 xrefs:\n; > CheckpointGameObject::triggerActivated @ 0x87eebc\n; > CheckpointGameObject::resetCheckpoint @ 0x87f420\n; > <???> @ 0x93a48\n; \n; This function is hookable on this platform (idp: arm, 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:55:54 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x87ec50\nMOV             W1, #0x465                                             ; +0x4, 0x87ec54\nMOV             X29, SP                                                ; +0x8, 0x87ec58\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x87ec5c\nMOV             X19, X0                                                ; +0x10, 0x87ec60\nLDR             X2, [X0]                                               ; +0x14, 0x87ec64\nLDR             X2, [X2,#0x1E0]                                        ; +0x18, 0x87ec68\nBLR             X2                                                     ; +0x1c, 0x87ec6c\nLDR             X2, [X0]                                               ; +0x20, 0x87ec70\nLDRB            W1, [X19,#0x730]                                       ; +0x24, 0x87ec74\nLDR             X2, [X2,#0x158]                                        ; +0x28, 0x87ec78\nEOR             W1, W1, #1                                             ; +0x2c, 0x87ec7c\nBLR             X2                                                     ; +0x30, 0x87ec80\nLDR             X2, [X19]                                              ; +0x34, 0x87ec84\nMOV             W1, #0x466                                             ; +0x38, 0x87ec88\nMOV             X0, X19                                                ; +0x3c, 0x87ec8c\nLDR             X2, [X2,#0x1E0]                                        ; +0x40, 0x87ec90\nBLR             X2                                                     ; +0x44, 0x87ec94\nLDR             X2, [X0]                                               ; +0x48, 0x87ec98\nLDRB            W1, [X19,#0x730]                                       ; +0x4c, 0x87ec9c\nLDR             X2, [X2,#0x158]                                        ; +0x50, 0x87eca0\nEOR             W1, W1, #1                                             ; +0x54, 0x87eca4\nBLR             X2                                                     ; +0x58, 0x87eca8\nLDR             X2, [X19]                                              ; +0x5c, 0x87ecac\nMOV             W1, #0x467                                             ; +0x60, 0x87ecb0\nMOV             X0, X19                                                ; +0x64, 0x87ecb4\nLDR             X2, [X2,#0x1E0]                                        ; +0x68, 0x87ecb8\nBLR             X2                                                     ; +0x6c, 0x87ecbc\nLDR             X2, [X0]                                               ; +0x70, 0x87ecc0\nLDRB            W1, [X19,#0x730]                                       ; +0x74, 0x87ecc4\nLDR             X2, [X2,#0x158]                                        ; +0x78, 0x87ecc8\nEOR             W1, W1, #1                                             ; +0x7c, 0x87eccc\nBLR             X2                                                     ; +0x80, 0x87ecd0\nLDR             X2, [X19]                                              ; +0x84, 0x87ecd4\nMOV             W1, #0x468                                             ; +0x88, 0x87ecd8\nMOV             X0, X19                                                ; +0x8c, 0x87ecdc\nLDR             X2, [X2,#0x1E0]                                        ; +0x90, 0x87ece0\nBLR             X2                                                     ; +0x94, 0x87ece4\nLDR             X2, [X0]                                               ; +0x98, 0x87ece8\nLDRB            W1, [X19,#0x730]                                       ; +0x9c, 0x87ecec\nLDR             X2, [X2,#0x158]                                        ; +0xa0, 0x87ecf0\nBLR             X2                                                     ; +0xa4, 0x87ecf4\nLDR             X2, [X19,#0x378]                                       ; +0xa8, 0x87ecf8\nMOV             W1, #0x465                                             ; +0xac, 0x87ecfc\nMOV             X0, X2                                                 ; +0xb0, 0x87ed00\nLDR             X2, [X2]                                               ; +0xb4, 0x87ed04\nLDR             X2, [X2,#0x1E0]                                        ; +0xb8, 0x87ed08\nBLR             X2                                                     ; +0xbc, 0x87ed0c\nLDR             X2, [X0]                                               ; +0xc0, 0x87ed10\nLDRB            W1, [X19,#0x730]                                       ; +0xc4, 0x87ed14\nLDR             X2, [X2,#0x158]                                        ; +0xc8, 0x87ed18\nEOR             W1, W1, #1                                             ; +0xcc, 0x87ed1c\nBLR             X2                                                     ; +0xd0, 0x87ed20\nLDR             X2, [X19,#0x378]                                       ; +0xd4, 0x87ed24\nMOV             W1, #0x466                                             ; +0xd8, 0x87ed28\nMOV             X0, X2                                                 ; +0xdc, 0x87ed2c\nLDR             X2, [X2]                                               ; +0xe0, 0x87ed30\nLDR             X2, [X2,#0x1E0]                                        ; +0xe4, 0x87ed34\nBLR             X2                                                     ; +0xe8, 0x87ed38\nLDR             X2, [X0]                                               ; +0xec, 0x87ed3c\nLDRB            W1, [X19,#0x730]                                       ; +0xf0, 0x87ed40\nLDR             X2, [X2,#0x158]                                        ; +0xf4, 0x87ed44\nEOR             W1, W1, #1                                             ; +0xf8, 0x87ed48\nBLR             X2                                                     ; +0xfc, 0x87ed4c\nLDR             X2, [X19,#0x378]                                       ; +0x100, 0x87ed50\nMOV             W1, #0x467                                             ; +0x104, 0x87ed54\nMOV             X0, X2                                                 ; +0x108, 0x87ed58\nLDR             X2, [X2]                                               ; +0x10c, 0x87ed5c\nLDR             X2, [X2,#0x1E0]                                        ; +0x110, 0x87ed60\nBLR             X2                                                     ; +0x114, 0x87ed64\nLDR             X2, [X0]                                               ; +0x118, 0x87ed68\nLDRB            W1, [X19,#0x730]                                       ; +0x11c, 0x87ed6c\nLDR             X2, [X2,#0x158]                                        ; +0x120, 0x87ed70\nEOR             W1, W1, #1                                             ; +0x124, 0x87ed74\nBLR             X2                                                     ; +0x128, 0x87ed78\nLDR             X2, [X19,#0x378]                                       ; +0x12c, 0x87ed7c\nMOV             W1, #0x468                                             ; +0x130, 0x87ed80\nMOV             X0, X2                                                 ; +0x134, 0x87ed84\nLDR             X2, [X2]                                               ; +0x138, 0x87ed88\nLDR             X2, [X2,#0x1E0]                                        ; +0x13c, 0x87ed8c\nBLR             X2                                                     ; +0x140, 0x87ed90\nLDR             X2, [X0]                                               ; +0x144, 0x87ed94\nLDRB            W1, [X19,#0x730]                                       ; +0x148, 0x87ed98\nLDR             X2, [X2,#0x158]                                        ; +0x14c, 0x87ed9c\nBLR             X2                                                     ; +0x150, 0x87eda0\nLDRB            W0, [X19,#0x730]                                       ; +0x154, 0x87eda4\nCBNZ            W0, loc_87EDBC                                         ; +0x158, 0x87eda8\nSTRB            WZR, [X19,#0x280]                                      ; +0x15c, 0x87edac\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x160, 0x87edb0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x164, 0x87edb4\nRET                                                                    ; +0x168, 0x87edb8\nLDR             X2, [X19]                                              ; +0x16c, 0x87edbc\nADRP            X1, #unk_114B748@PAGE                                  ; +0x170, 0x87edc0\nMOV             X0, X19                                                ; +0x174, 0x87edc4\nADD             X1, X1, #unk_114B748@PAGEOFF                           ; +0x178, 0x87edc8\nLDR             X2, [X2,#0x5D8]                                        ; +0x17c, 0x87edcc\nBLR             X2                                                     ; +0x180, 0x87edd0\nMOV             W0, #1                                                 ; +0x184, 0x87edd4\nSTRB            W0, [X19,#0x280]                                       ; +0x188, 0x87edd8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x18c, 0x87eddc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x190, 0x87ede0\nRET                                                                    ; +0x194, 0x87ede4", "xrefs": ["CheckpointGameObject::triggerActivated @ 0x87eebc", "CheckpointGameObject::resetCheckpoint @ 0x87f420", "<???> @ 0x93a48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}