//
// PlayLayer::resetSPTriggered from 0x1000875d0 to 0x10008761a (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abb088
//
// 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:20:05 +0000
//
_QWORD *__fastcall PlayLayer::resetSPTriggered(__int64 a1)
{
_QWORD *result; // rax
__int64 v2; // rcx
unsigned __int64 v3; // rcx
result = *(_QWORD **)(a1 + 14256);
if ( result )
{
result = (_QWORD *)result[7];
v2 = *(unsigned int *)result;
if ( *(_DWORD *)result )
{
result = (_QWORD *)result[2];
v3 = (unsigned __int64)&result[v2 - 1];
do
{
if ( !*result )
break;
*(_BYTE *)(*result++ + 1834LL) = 0;
}
while ( (unsigned __int64)result <= v3 );
}
}
return result;
}