{"type": "func", "start": 5148820, "end": 5149092, "name": "CheckpointGameObject::updateCheckpointSpriteVisibility", "pseudocode": "// \n// CheckpointGameObject::updateCheckpointSpriteVisibility from 0x4e9094 to 0x4e91a4 (272 bytes)\n// \n// 2 xrefs:\n// > CheckpointGameObject::triggerActivated @ 0x4e921e\n// > CheckpointGameObject::resetCheckpoint @ 0x4e95ca\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:51:07 +0000\n// \n\nint __fastcall CheckpointGameObject::updateCheckpointSpriteVisibility(CheckpointGameObject *this)\n{\n  int v2; // r0\n  int v3; // r0\n  int v4; // r0\n  int v5; // r0\n  int v6; // r0\n  int v7; // r0\n  int v8; // r0\n  int v9; // r0\n  int result; // r0\n  char v11; // r3\n\n  v2 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1125);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v2 + 172))(v2, *((unsigned __int8 *)this + 1648) ^ 1);\n  v3 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1126);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 172))(v3, *((unsigned __int8 *)this + 1648) ^ 1);\n  v4 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1127);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 172))(v4, *((unsigned __int8 *)this + 1648) ^ 1);\n  v5 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1128);\n  (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v5 + 172))(v5, *((unsigned __int8 *)this + 1648));\n  v6 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1125);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 172))(v6, *((unsigned __int8 *)this + 1648) ^ 1);\n  v7 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1126);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 172))(v7, *((unsigned __int8 *)this + 1648) ^ 1);\n  v8 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1127);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 172))(v8, *((unsigned __int8 *)this + 1648) ^ 1);\n  v9 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1128);\n  result = (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v9 + 172))(v9, *((unsigned __int8 *)this + 1648));\n  v11 = *((_BYTE *)this + 1648);\n  if ( v11 )\n  {\n    result = (*(int (__fastcall **)(CheckpointGameObject *, __int16 *))(*(_DWORD *)this + 748))(this, &word_BEC668);\n    v11 = 1;\n  }\n  *((_BYTE *)this + 540) = v11;\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::updateCheckpointSpriteVisibility from 0x4e9094 to 0x4e91a4 (272 bytes)\n; \n; 2 xrefs:\n; > CheckpointGameObject::triggerActivated @ 0x4e921e\n; > CheckpointGameObject::resetCheckpoint @ 0x4e95ca\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:51:07 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x4e9094\nMOVW            R1, #0x465                                             ; +0x2, 0x4e9096\nLDR             R3, [R0]                                               ; +0x6, 0x4e909a\nMOV             R4, R0                                                 ; +0x8, 0x4e909c\nLDR.W           R3, [R3,#0xF0]                                         ; +0xa, 0x4e909e\nBLX             R3                                                     ; +0xe, 0x4e90a2\nLDRB.W          R1, [R4,#0x670]                                        ; +0x10, 0x4e90a4\nEOR.W           R1, R1, #1                                             ; +0x14, 0x4e90a8\nLDR             R3, [R0]                                               ; +0x18, 0x4e90ac\nLDR.W           R3, [R3,#0xAC]                                         ; +0x1a, 0x4e90ae\nBLX             R3                                                     ; +0x1e, 0x4e90b2\nLDR             R3, [R4]                                               ; +0x20, 0x4e90b4\nMOVW            R1, #0x466                                             ; +0x22, 0x4e90b6\nMOV             R0, R4                                                 ; +0x26, 0x4e90ba\nLDR.W           R3, [R3,#0xF0]                                         ; +0x28, 0x4e90bc\nBLX             R3                                                     ; +0x2c, 0x4e90c0\nLDRB.W          R1, [R4,#0x670]                                        ; +0x2e, 0x4e90c2\nEOR.W           R1, R1, #1                                             ; +0x32, 0x4e90c6\nLDR             R3, [R0]                                               ; +0x36, 0x4e90ca\nLDR.W           R3, [R3,#0xAC]                                         ; +0x38, 0x4e90cc\nBLX             R3                                                     ; +0x3c, 0x4e90d0\nLDR             R3, [R4]                                               ; +0x3e, 0x4e90d2\nMOVW            R1, #0x467                                             ; +0x40, 0x4e90d4\nMOV             R0, R4                                                 ; +0x44, 0x4e90d8\nLDR.W           R3, [R3,#0xF0]                                         ; +0x46, 0x4e90da\nBLX             R3                                                     ; +0x4a, 0x4e90de\nLDRB.W          R1, [R4,#0x670]                                        ; +0x4c, 0x4e90e0\nEOR.W           R1, R1, #1                                             ; +0x50, 0x4e90e4\nLDR             R3, [R0]                                               ; +0x54, 0x4e90e8\nLDR.W           R3, [R3,#0xAC]                                         ; +0x56, 0x4e90ea\nBLX             R3                                                     ; +0x5a, 0x4e90ee\nLDR             R3, [R4]                                               ; +0x5c, 0x4e90f0\nMOV.W           R1, #0x468                                             ; +0x5e, 0x4e90f2\nMOV             R0, R4                                                 ; +0x62, 0x4e90f6\nLDR.W           R3, [R3,#0xF0]                                         ; +0x64, 0x4e90f8\nBLX             R3                                                     ; +0x68, 0x4e90fc\nLDRB.W          R1, [R4,#0x670]                                        ; +0x6a, 0x4e90fe\nLDR             R3, [R0]                                               ; +0x6e, 0x4e9102\nLDR.W           R3, [R3,#0xAC]                                         ; +0x70, 0x4e9104\nBLX             R3                                                     ; +0x74, 0x4e9108\nLDR.W           R0, [R4,#0x2F4]                                        ; +0x76, 0x4e910a\nMOVW            R1, #0x465                                             ; +0x7a, 0x4e910e\nLDR             R3, [R0]                                               ; +0x7e, 0x4e9112\nLDR.W           R3, [R3,#0xF0]                                         ; +0x80, 0x4e9114\nBLX             R3                                                     ; +0x84, 0x4e9118\nLDRB.W          R1, [R4,#0x670]                                        ; +0x86, 0x4e911a\nEOR.W           R1, R1, #1                                             ; +0x8a, 0x4e911e\nLDR             R3, [R0]                                               ; +0x8e, 0x4e9122\nLDR.W           R3, [R3,#0xAC]                                         ; +0x90, 0x4e9124\nBLX             R3                                                     ; +0x94, 0x4e9128\nLDR.W           R0, [R4,#0x2F4]                                        ; +0x96, 0x4e912a\nMOVW            R1, #0x466                                             ; +0x9a, 0x4e912e\nLDR             R3, [R0]                                               ; +0x9e, 0x4e9132\nLDR.W           R3, [R3,#0xF0]                                         ; +0xa0, 0x4e9134\nBLX             R3                                                     ; +0xa4, 0x4e9138\nLDRB.W          R1, [R4,#0x670]                                        ; +0xa6, 0x4e913a\nEOR.W           R1, R1, #1                                             ; +0xaa, 0x4e913e\nLDR             R3, [R0]                                               ; +0xae, 0x4e9142\nLDR.W           R3, [R3,#0xAC]                                         ; +0xb0, 0x4e9144\nBLX             R3                                                     ; +0xb4, 0x4e9148\nLDR.W           R0, [R4,#0x2F4]                                        ; +0xb6, 0x4e914a\nMOVW            R1, #0x467                                             ; +0xba, 0x4e914e\nLDR             R3, [R0]                                               ; +0xbe, 0x4e9152\nLDR.W           R3, [R3,#0xF0]                                         ; +0xc0, 0x4e9154\nBLX             R3                                                     ; +0xc4, 0x4e9158\nLDRB.W          R1, [R4,#0x670]                                        ; +0xc6, 0x4e915a\nEOR.W           R1, R1, #1                                             ; +0xca, 0x4e915e\nLDR             R3, [R0]                                               ; +0xce, 0x4e9162\nLDR.W           R3, [R3,#0xAC]                                         ; +0xd0, 0x4e9164\nBLX             R3                                                     ; +0xd4, 0x4e9168\nLDR.W           R0, [R4,#0x2F4]                                        ; +0xd6, 0x4e916a\nMOV.W           R1, #0x468                                             ; +0xda, 0x4e916e\nLDR             R3, [R0]                                               ; +0xde, 0x4e9172\nLDR.W           R3, [R3,#0xF0]                                         ; +0xe0, 0x4e9174\nBLX             R3                                                     ; +0xe4, 0x4e9178\nLDRB.W          R1, [R4,#0x670]                                        ; +0xe6, 0x4e917a\nLDR             R3, [R0]                                               ; +0xea, 0x4e917e\nLDR.W           R3, [R3,#0xAC]                                         ; +0xec, 0x4e9180\nBLX             R3                                                     ; +0xf0, 0x4e9184\nLDRB.W          R3, [R4,#0x670]                                        ; +0xf2, 0x4e9186\nCBZ             R3, loc_4E919E                                         ; +0xf6, 0x4e918a\nLDR             R3, [R4]                                               ; +0xf8, 0x4e918c\nMOV             R0, R4                                                 ; +0xfa, 0x4e918e\nLDR             R1, =(unk_BEC658 - 0x4E9196)                           ; +0xfc, 0x4e9190\nADD             R1, PC; unk_BEC658                                     ; +0xfe, 0x4e9192\nLDR.W           R3, [R3,#0x2EC]                                        ; +0x100, 0x4e9194\nADDS            R1, #(word_BEC668 - 0xBEC658)                          ; +0x104, 0x4e9198\nBLX             R3                                                     ; +0x106, 0x4e919a\nMOVS            R3, #1                                                 ; +0x108, 0x4e919c\nSTRB.W          R3, [R4,#0x21C]                                        ; +0x10a, 0x4e919e\nPOP             {R4,PC}                                                ; +0x10e, 0x4e91a2", "xrefs": ["CheckpointGameObject::triggerActivated @ 0x4e921e", "CheckpointGameObject::resetCheckpoint @ 0x4e95ca"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}