//
// CheckpointGameObject::resetObject from 0x87f424 to 0x87f474 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0xa3918
// > ??> @ 0x1450aa8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:54 +0000
//
__int64 __fastcall CheckpointGameObject::resetObject(CheckpointGameObject *this)
{
__int64 result; // x0
GameManager *v3; // x0
EnhancedGameObject::resetObject(this);
if ( *((_BYTE *)this + 649) )
return CheckpointGameObject::resetCheckpoint(this);
v3 = (GameManager *)GameManager::sharedState((GameManager *)*((unsigned __int8 *)this + 649));
result = (unsigned __int8)GameManager::getGameVariable(v3, "0146");
if ( (_BYTE)result )
return CheckpointGameObject::resetCheckpoint(this);
return result;
}