//
// SequenceTriggerGameObject::resetObject from 0x870410 to 0x8704c0 (176 bytes)
//
// 2 xrefs:
// > ??> @ 0x91660
// > ??> @ 0x144da48
//
// 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:45 +0000
//
__int64 __fastcall SequenceTriggerGameObject::resetObject(SequenceTriggerGameObject *this)
{
_QWORD *v2; // x0
_QWORD *v3; // x20
__int64 v4; // x2
__int64 v5; // x0
__int64 result; // x0
_QWORD *v7; // x0
_QWORD *v8; // x20
__int64 v9; // x2
EnhancedGameObject::resetObject(this);
if ( *((_QWORD *)this + 241) )
{
v2 = *((_QWORD **)this + 240);
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
v4 = *((_QWORD *)this + 239);
v5 = 0;
*((_QWORD *)this + 240) = 0;
if ( v4 )
{
do
*(_QWORD *)(*((_QWORD *)this + 238) + 8 * v5++) = 0;
while ( v5 != v4 );
}
*((_QWORD *)this + 241) = 0;
}
result = *((_QWORD *)this + 236);
if ( result )
{
v7 = *((_QWORD **)this + 235);
if ( v7 )
{
do
{
v8 = (_QWORD *)*v7;
operator delete(v7);
v7 = v8;
}
while ( v8 );
}
v9 = *((_QWORD *)this + 234);
result = 0;
*((_QWORD *)this + 235) = 0;
if ( v9 )
{
do
*(_QWORD *)(*((_QWORD *)this + 233) + 8 * result++) = 0;
while ( result != v9 );
}
*((_QWORD *)this + 236) = 0;
}
return result;
}