//
// CheckpointGameObject::resetObject from 0x1004370c4 to 0x100437114 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095a3d0
//
// 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 11:05:08 +0000
//
__int64 __fastcall CheckpointGameObject::resetObject(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
EnhancedGameObject::resetObject(a1);
if ( (*(_BYTE *)(a1 + 649) & 1) != 0
|| (v2 = GameManager::sharedState(), result = GameManager::getGameVariable(v2, "0146"), (_DWORD)result) )
{
*(_BYTE *)(a1 + 1840) = 0;
return CheckpointGameObject::updateCheckpointSpriteVisibility(a1);
}
return result;
}