//
// CheckpointGameObject::resetObject from 0x1001b7910 to 0x1001b795b (75 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ad4768
//
// This function is hookable on this platform (idp: pc, 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:26:12 +0000
//
char __fastcall CheckpointGameObject::resetObject(__int64 a1, __int64 a2)
{
__int64 v2; // rdx
__int64 v3; // rax
char result; // al
EnhancedGameObject::resetObject(a1);
if ( *(_BYTE *)(a1 + 649)
|| (GameManager::sharedState(a1, a2, v2), (result = GameManager::getGameVariable(v3, "0146")) != 0) )
{
*(_BYTE *)(a1 + 1840) = 0;
return CheckpointGameObject::updateCheckpointSpriteVisibility(a1);
}
return result;
}