{"type": "func", "start": 4298704696, "end": 4298704776, "name": "CheckpointGameObject::resetObject", "pseudocode": "// \n// CheckpointGameObject::resetObject from 0x100390738 to 0x100390788 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100802000\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CheckpointGameObject::resetObject(CheckpointGameObject *a1)\n{\n  GameManager *v2; // x0\n\n  EnhancedGameObject::resetObject(a1);\n  if ( a1->m_editorEnabled || (v2 = GameManager::sharedState(), GameManager::getGameVariable(v2, \"0146\")) )\n  {\n    a1->m_checkpointActivated = 0;\n    CheckpointGameObject::updateCheckpointSpriteVisibility(a1);\n  }\n}", "assembly": "; \n; CheckpointGameObject::resetObject from 0x100390738 to 0x100390788 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100802000\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100390738\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10039073c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100390740\nMOV             X19, X0                                                ; +0xc, 0x100390744\nBL              EnhancedGameObject__resetObject                        ; +0x10, 0x100390748\nLDRB            W8, [X19,#0x289]                                       ; +0x14, 0x10039074c\nTBNZ            W8, #0, loc_100390768                                  ; +0x18, 0x100390750\nBL              GameManager__sharedState                               ; +0x1c, 0x100390754\nADRL            X1, a0146; \"0146\"                                      ; +0x20, 0x100390758\nBL              GameManager__getGameVariable                           ; +0x28, 0x100390760\nCBZ             W0, loc_10039077C                                      ; +0x2c, 0x100390764\nSTRB            WZR, [X19,#0x72C]                                      ; +0x30, 0x100390768\nMOV             X0, X19                                                ; +0x34, 0x10039076c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x100390770\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x100390774\nB               CheckpointGameObject__updateCheckpointSpriteVisibility ; +0x40, 0x100390778\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x10039077c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x100390780\nRET                                                                    ; +0x4c, 0x100390784", "xrefs": ["<???> @ 0x100802000"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}