//
// CheckpointGameObject::resetObject from 0x1404bafc0 to 0x1404bb035 (117 bytes)
//
// 2 xrefs:
// > ??> @ 0x140611c18
// > ??> @ 0x1406dcd64
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
void CheckpointGameObject::resetObject(CheckpointGameObject *a1)
{
GameManager *v2; // rcx
void *v3; // [rsp+30h] [rbp+8h]
EnhancedGameObject::resetObject(a1);
if ( a1->m_editorEnabled )
goto LABEL_5;
v2 = (GameManager *)qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v3 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v3);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v2 = (GameManager *)qword_1406C2ED8;
}
if ( GameManager::getGameVariable(v2, "0146") )
LABEL_5:
CheckpointGameObject::resetCheckpoint(a1);
}