//
// cocos2d::CCNode::onExitTransitionDidStart from 0x5bd788 to 0x5bd7d8 (80 bytes)
//
// 1 xrefs:
// > cocos2d::CCClippingNode::onExitTransitionDidStart @ 0x5d639c
//
// 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 cocos2d::CCNode::onExitTransitionDidStart(cocos2d::CCNode *a1)
{
cocos2d::CCArray *m_pChildren; // r3
cocos2d::CCScriptEngineManager *v3; // r0
cocos2d::ccArray *data; // r2
cocos2d::CCObject **arr; // r5
cocos2d::CCObject **v6; // r4
int v7; // r0
int v8; // t1
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
if ( data->num )
{
arr = data->arr;
v6 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v6 )
{
v8 = (int)*arr++;
v7 = v8;
if ( !v8 )
break;
(*(void (__fastcall **)(int))(*(_DWORD *)v7 + 356))(v7);
}
}
}
if ( a1->m_eScriptType )
{
v3 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_DWORD, cocos2d::CCNode *, int))(**(_DWORD **)v3 + 36))(*(_DWORD *)v3, a1, 3);
}
}