//
// LevelEditorLayer::resetSPTriggered from 0x100403530 to 0x100403570 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x10094c550
//
// 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 11:04:40 +0000
//
__int64 __fastcall LevelEditorLayer::resetSPTriggered(__int64 result)
{
__int64 v1; // x8
unsigned int *v2; // x8
__int64 v3; // x9
unsigned __int64 v4; // x8
unsigned __int64 v5; // x9
v1 = *(_QWORD *)(*(_QWORD *)(result + 14288) + 560LL);
if ( v1 )
{
v2 = *(unsigned int **)(v1 + 56);
v3 = *v2;
if ( (_DWORD)v3 )
{
v4 = *((_QWORD *)v2 + 2);
v5 = v4 + 8 * v3 - 8;
do
{
if ( !*(_QWORD *)v4 )
break;
*(_BYTE *)(*(_QWORD *)v4 + 1834LL) = 0;
v4 += 8LL;
}
while ( v4 <= v5 );
}
}
return result;
}