//
// GJBaseGameLayer::resetMoveOptimizedValue from 0x1001fa7a0 to 0x1001fa7e0 (64 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::recreateGroups @ 0x100361d50
//
// 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::resetMoveOptimizedValue(GJBaseGameLayer *a1)
{
cocos2d::CCArray *m_objects; // x8
cocos2d::ccArray *data; // x8
__int64 num; // x9
unsigned __int64 arr; // x8
unsigned __int64 v5; // x9
m_objects = a1->m_objects;
if ( m_objects )
{
data = m_objects->data;
num = data->num;
if ( (_DWORD)num )
{
arr = (unsigned __int64)data->arr;
v5 = arr + 8 * num - 8;
do
{
if ( !*(_QWORD *)arr )
break;
*(_BYTE *)(*(_QWORD *)arr + 1290LL) = *(_BYTE *)(*(_QWORD *)arr + 1289LL);
arr += 8LL;
}
while ( arr <= v5 );
}
}
}