//
// CheckpointGameObject::resetObject from 0x4e95d0 to 0x4e95f8 (40 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:07 +0000
//
int __fastcall CheckpointGameObject::resetObject(CheckpointGameObject *this)
{
GameManager *v2; // r0
GameManager *v3; // r0
int result; // r0
v2 = (GameManager *)EnhancedGameObject::resetObject(this);
if ( *((_BYTE *)this + 549) )
return CheckpointGameObject::resetCheckpoint(this);
v3 = (GameManager *)GameManager::sharedState(v2);
result = GameManager::getGameVariable(v3, "0146");
if ( result )
return CheckpointGameObject::resetCheckpoint(this);
return result;
}