//
// GJBaseGameLayer::resetStoppedAreaObjects from 0x1001f64a4 to 0x1001f6558 (180 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x100363258
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::resetStoppedAreaObjects(GJBaseGameLayer *a1)
{
__int64 v2; // x21
GameObject *v3; // x20
if ( a1->m_areaObjectsCount >= 1 )
{
v2 = 0;
do
{
v3 = a1->m_areaObjects.__begin_[v2];
v3->m_isDirty = 1;
*(_WORD *)&v3->m_isObjectRectDirty = 257;
if ( GJBaseGameLayer::resetAreaObjectValues(a1, v3, 0) )
((void (__fastcall *)(GJBaseGameLayer *, GameObject *))a1->updateObjectSection)(a1, v3);
((void (__fastcall *)(GameObject *, float))v3->setRRotation)(v3, 0.0);
((void (__fastcall *)(GameObject *, float))v3->setRScale)(v3, 1.0);
++v2;
}
while ( v2 < a1->m_areaObjectsCount );
}
}