//
// GJBaseGameLayer::resetStoppedAreaObjects from 0x100143770 to 0x10014380c (156 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x1000f2da2
//
// 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 v1; // r15
GameObject *v2; // r14
if ( a1->m_areaObjectsCount > 0 )
{
v1 = 0;
do
{
v2 = a1->m_areaObjects.__begin_[v1];
v2->m_isDirty = 1;
*(_WORD *)&v2->m_isObjectRectDirty = 257;
if ( GJBaseGameLayer::resetAreaObjectValues(a1, v2, 0) )
((void (__fastcall *)(GJBaseGameLayer *, GameObject *))a1->updateObjectSection)(a1, v2);
((void (__fastcall *)(GameObject *, double))v2->setRRotation)(v2, 0.0);
((void (__fastcall *)(GameObject *, float))v2->setRScale)(v2, 1.0);
++v1;
}
while ( v1 < a1->m_areaObjectsCount );
}
}