//
// LevelEditorLayer::resetSPTriggered from 0x65b320 to 0x65b36c (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x9ff00
// > ??> @ 0x11552f0
//
// 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 LevelEditorLayer::resetSPTriggered(LevelEditorLayer *a1)
{
cocos2d::CCArray *m_speedObjects; // x0
cocos2d::ccArray *data; // x0
unsigned int num; // w1
cocos2d::CCObject **arr; // x0
cocos2d::CCObject **i; // x2
cocos2d::CCObject *v6; // x1
m_speedObjects = a1->m_drawGridLayer->m_speedObjects;
if ( m_speedObjects )
{
data = m_speedObjects->data;
num = data->num;
if ( data->num )
{
arr = data->arr;
for ( i = &arr[num - 1]; i >= arr; BYTE2(v6[32].m_uAutoReleaseCount) = 0 )
{
v6 = *arr;
if ( !*arr )
break;
++arr;
}
}
}
}