//
// GJBaseGameLayer::resetStoppedAreaObjects from 0x100292748 to 0x1002927fc (180 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x100405294
//
// 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:02:04 +0000
//
__int64 __fastcall GJBaseGameLayer::resetStoppedAreaObjects(__int64 result)
{
_DWORD *v1; // x19
__int64 v2; // x21
__int64 v3; // x20
if ( *(int *)(result + 3564) >= 1 )
{
v1 = (_DWORD *)result;
v2 = 0;
do
{
v3 = *(_QWORD *)(*((_QWORD *)v1 + 425) + 8 * v2);
*(_BYTE *)(v3 + 840) = 1;
*(_WORD *)(v3 + 864) = 257;
if ( GJBaseGameLayer::resetAreaObjectValues(v1, v3, 0) )
(*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v1 + 1368LL))(v1, v3);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 1480LL))(v3, 0.0);
result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 1456LL))(v3, 1.0);
++v2;
}
while ( v2 < (int)v1[891] );
}
return result;
}