//
// LevelEditorLayer::resetSPTriggered from 0x1000c3f80 to 0x1000c3fca (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac3ea0
//
// 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:35 +0000
//
_QWORD *__fastcall LevelEditorLayer::resetSPTriggered(__int64 a1)
{
_QWORD *result; // rax
__int64 v2; // rcx
unsigned __int64 v3; // rcx
result = *(_QWORD **)(*(_QWORD *)(a1 + 14288) + 560LL);
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;
}