//
// GJBaseGameLayer::resetStoppedAreaObjects from 0x59e088 to 0x59e0e4 (92 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x46299a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:15 +0000
//
int __fastcall GJBaseGameLayer::resetStoppedAreaObjects(int this)
{
GJBaseGameLayer *v1; // r5
int i; // r6
GameObject *v3; // r4
v1 = (GJBaseGameLayer *)this;
for ( i = 0; i < *((_DWORD *)v1 + 561); ++i )
{
v3 = *(GameObject **)(*((_DWORD *)v1 + 537) + 4 * i);
*((_BYTE *)v3 + 708) = 1;
*((_BYTE *)v3 + 732) = 1;
*((_BYTE *)v3 + 733) = 1;
if ( GJBaseGameLayer::resetAreaObjectValues(v1, v3, 0) )
(*(void (__fastcall **)(GJBaseGameLayer *, GameObject *))(*(_DWORD *)v1 + 684))(v1, v3);
(*(void (__fastcall **)(GameObject *, _DWORD))(*(_DWORD *)v3 + 740))(v3, 0);
this = (*(int (__fastcall **)(GameObject *, int))(*(_DWORD *)v3 + 728))(v3, 1065353216);
}
return this;
}