{"type": "func", "start": 4299383676, "end": 4299384068, "name": "CheckpointGameObject::updateCheckpointSpriteVisibility", "pseudocode": "// \n// CheckpointGameObject::updateCheckpointSpriteVisibility from 0x10043637c to 0x100436504 (392 bytes)\n// \n// 3 xrefs:\n// > CheckpointGameObject::triggerActivated @ 0x10043626c\n// > CheckpointGameObject::resetObject @ 0x100437104\n// > CheckpointGameObject::restoreObject @ 0x10043712c\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 11:05:08 +0000\n// \n\n__int64 __fastcall CheckpointGameObject::updateCheckpointSpriteVisibility(__int64 a1)\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  char v11; // w8\n\n  v2 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1125);\n  (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v2 + 344LL))(v2, (*(_BYTE *)(a1 + 1840) & 1) == 0);\n  v3 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1126);\n  (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 344LL))(v3, (*(_BYTE *)(a1 + 1840) & 1) == 0);\n  v4 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1127);\n  (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v4 + 344LL))(v4, (*(_BYTE *)(a1 + 1840) & 1) == 0);\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, bool))(*(_QWORD *)v6 + 344LL))(v6, (*(_BYTE *)(a1 + 1840) & 1) == 0);\n  v7 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1126);\n  (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v7 + 344LL))(v7, (*(_BYTE *)(a1 + 1840) & 1) == 0);\n  v8 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1127);\n  (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 344LL))(v8, (*(_BYTE *)(a1 + 1840) & 1) == 0);\n  v9 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 480LL))(*(_QWORD *)(a1 + 888), 1128);\n  result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 344LL))(v9, *(unsigned __int8 *)(a1 + 1840));\n  if ( *(_BYTE *)(a1 + 1840) == 1 )\n  {\n    result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)a1 + 1496LL))(a1, &unk_10076E850);\n    v11 = 1;\n  }\n  else\n  {\n    v11 = 0;\n  }\n  *(_BYTE *)(a1 + 640) = v11;\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::updateCheckpointSpriteVisibility from 0x10043637c to 0x100436504 (392 bytes)\n; \n; 3 xrefs:\n; > CheckpointGameObject::triggerActivated @ 0x10043626c\n; > CheckpointGameObject::resetObject @ 0x100437104\n; > CheckpointGameObject::restoreObject @ 0x10043712c\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 11:05:08 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10043637c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100436380\nADD             X29, SP, #0x10                                         ; +0x8, 0x100436384\nMOV             X19, X0                                                ; +0xc, 0x100436388\nLDR             X8, [X0]                                               ; +0x10, 0x10043638c\nLDR             X8, [X8,#0x1E0]                                        ; +0x14, 0x100436390\nMOV             W1, #0x465                                             ; +0x18, 0x100436394\nBLR             X8                                                     ; +0x1c, 0x100436398\nLDRB            W8, [X19,#0x730]                                       ; +0x20, 0x10043639c\nLDR             X9, [X0]                                               ; +0x24, 0x1004363a0\nLDR             X9, [X9,#0x158]                                        ; +0x28, 0x1004363a4\nMOV             W20, #1                                                ; +0x2c, 0x1004363a8\nBIC             W1, W20, W8                                            ; +0x30, 0x1004363ac\nBLR             X9                                                     ; +0x34, 0x1004363b0\nLDR             X8, [X19]                                              ; +0x38, 0x1004363b4\nLDR             X8, [X8,#0x1E0]                                        ; +0x3c, 0x1004363b8\nMOV             X0, X19                                                ; +0x40, 0x1004363bc\nMOV             W1, #0x466                                             ; +0x44, 0x1004363c0\nBLR             X8                                                     ; +0x48, 0x1004363c4\nLDRB            W8, [X19,#0x730]                                       ; +0x4c, 0x1004363c8\nLDR             X9, [X0]                                               ; +0x50, 0x1004363cc\nLDR             X9, [X9,#0x158]                                        ; +0x54, 0x1004363d0\nBIC             W1, W20, W8                                            ; +0x58, 0x1004363d4\nBLR             X9                                                     ; +0x5c, 0x1004363d8\nLDR             X8, [X19]                                              ; +0x60, 0x1004363dc\nLDR             X8, [X8,#0x1E0]                                        ; +0x64, 0x1004363e0\nMOV             X0, X19                                                ; +0x68, 0x1004363e4\nMOV             W1, #0x467                                             ; +0x6c, 0x1004363e8\nBLR             X8                                                     ; +0x70, 0x1004363ec\nLDRB            W8, [X19,#0x730]                                       ; +0x74, 0x1004363f0\nLDR             X9, [X0]                                               ; +0x78, 0x1004363f4\nLDR             X9, [X9,#0x158]                                        ; +0x7c, 0x1004363f8\nBIC             W1, W20, W8                                            ; +0x80, 0x1004363fc\nBLR             X9                                                     ; +0x84, 0x100436400\nLDR             X8, [X19]                                              ; +0x88, 0x100436404\nLDR             X8, [X8,#0x1E0]                                        ; +0x8c, 0x100436408\nMOV             X0, X19                                                ; +0x90, 0x10043640c\nMOV             W1, #0x468                                             ; +0x94, 0x100436410\nBLR             X8                                                     ; +0x98, 0x100436414\nLDRB            W1, [X19,#0x730]                                       ; +0x9c, 0x100436418\nLDR             X8, [X0]                                               ; +0xa0, 0x10043641c\nLDR             X8, [X8,#0x158]                                        ; +0xa4, 0x100436420\nBLR             X8                                                     ; +0xa8, 0x100436424\nLDR             X0, [X19,#0x378]                                       ; +0xac, 0x100436428\nLDR             X8, [X0]                                               ; +0xb0, 0x10043642c\nLDR             X8, [X8,#0x1E0]                                        ; +0xb4, 0x100436430\nMOV             W1, #0x465                                             ; +0xb8, 0x100436434\nBLR             X8                                                     ; +0xbc, 0x100436438\nLDRB            W8, [X19,#0x730]                                       ; +0xc0, 0x10043643c\nLDR             X9, [X0]                                               ; +0xc4, 0x100436440\nLDR             X9, [X9,#0x158]                                        ; +0xc8, 0x100436444\nBIC             W1, W20, W8                                            ; +0xcc, 0x100436448\nBLR             X9                                                     ; +0xd0, 0x10043644c\nLDR             X0, [X19,#0x378]                                       ; +0xd4, 0x100436450\nLDR             X8, [X0]                                               ; +0xd8, 0x100436454\nLDR             X8, [X8,#0x1E0]                                        ; +0xdc, 0x100436458\nMOV             W1, #0x466                                             ; +0xe0, 0x10043645c\nBLR             X8                                                     ; +0xe4, 0x100436460\nLDRB            W8, [X19,#0x730]                                       ; +0xe8, 0x100436464\nLDR             X9, [X0]                                               ; +0xec, 0x100436468\nLDR             X9, [X9,#0x158]                                        ; +0xf0, 0x10043646c\nBIC             W1, W20, W8                                            ; +0xf4, 0x100436470\nBLR             X9                                                     ; +0xf8, 0x100436474\nLDR             X0, [X19,#0x378]                                       ; +0xfc, 0x100436478\nLDR             X8, [X0]                                               ; +0x100, 0x10043647c\nLDR             X8, [X8,#0x1E0]                                        ; +0x104, 0x100436480\nMOV             W1, #0x467                                             ; +0x108, 0x100436484\nBLR             X8                                                     ; +0x10c, 0x100436488\nLDRB            W8, [X19,#0x730]                                       ; +0x110, 0x10043648c\nLDR             X9, [X0]                                               ; +0x114, 0x100436490\nLDR             X9, [X9,#0x158]                                        ; +0x118, 0x100436494\nBIC             W1, W20, W8                                            ; +0x11c, 0x100436498\nBLR             X9                                                     ; +0x120, 0x10043649c\nLDR             X0, [X19,#0x378]                                       ; +0x124, 0x1004364a0\nLDR             X8, [X0]                                               ; +0x128, 0x1004364a4\nLDR             X8, [X8,#0x1E0]                                        ; +0x12c, 0x1004364a8\nMOV             W1, #0x468                                             ; +0x130, 0x1004364ac\nBLR             X8                                                     ; +0x134, 0x1004364b0\nLDRB            W1, [X19,#0x730]                                       ; +0x138, 0x1004364b4\nLDR             X8, [X0]                                               ; +0x13c, 0x1004364b8\nLDR             X8, [X8,#0x158]                                        ; +0x140, 0x1004364bc\nBLR             X8                                                     ; +0x144, 0x1004364c0\nLDRB            W8, [X19,#0x730]                                       ; +0x148, 0x1004364c4\nCMP             W8, #1                                                 ; +0x14c, 0x1004364c8\nB.NE            loc_1004364F0                                          ; +0x150, 0x1004364cc\nLDR             X8, [X19]                                              ; +0x154, 0x1004364d0\nLDR             X8, [X8,#0x5D8]                                        ; +0x158, 0x1004364d4\nADRL            X1, unk_10076E850                                      ; +0x15c, 0x1004364d8\nMOV             X0, X19                                                ; +0x164, 0x1004364e0\nBLR             X8                                                     ; +0x168, 0x1004364e4\nMOV             W8, #1                                                 ; +0x16c, 0x1004364e8\nB               loc_1004364F4                                          ; +0x170, 0x1004364ec\nMOV             W8, #0                                                 ; +0x174, 0x1004364f0\nSTRB            W8, [X19,#0x280]                                       ; +0x178, 0x1004364f4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x17c, 0x1004364f8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x180, 0x1004364fc\nRET                                                                    ; +0x184, 0x100436500", "xrefs": ["CheckpointGameObject::triggerActivated @ 0x10043626c", "CheckpointGameObject::resetObject @ 0x100437104", "CheckpointGameObject::restoreObject @ 0x10043712c"], "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"}