//
// LevelEditorLayer::resetSPTriggered from 0x1402de910 to 0x1402de959 (73 bytes)
//
// 1 xrefs:
// > ??> @ 0x1405863c8
//
// 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; // rcx
cocos2d::ccArray *data; // rax
__int64 num; // rcx
cocos2d::CCObject **arr; // rax
cocos2d::CCObject **i; // rdx
cocos2d::CCObject *v6; // rcx
m_speedObjects = a1->m_drawGridLayer->m_speedObjects;
if ( m_speedObjects )
{
data = m_speedObjects->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
for ( i = &arr[num - 1]; arr <= i; BYTE2(v6[33].__vftable) = 0 )
{
v6 = *arr;
if ( !*arr )
break;
++arr;
}
}
}
}