// // cocos2d::CCNode::setUseChildIndex from 0x5bdf80 to 0x5bdfbe (62 bytes) // // 1 xrefs: // > GJBaseGameLayer::setupLayers @ 0x47c1f8 // // 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::setUseChildIndex(cocos2d::CCNode *a1, bool a2) { cocos2d::CCArray *m_pChildren; // r0 cocos2d::ccArray *data; // r3 signed int num; // r1 cocos2d::CCObject **arr; // r2 signed int i; // r3 if ( a1->m_bUseChildIndex != a2 ) { a1->m_bUseChildIndex = a2; if ( a2 ) { m_pChildren = a1->m_pChildren; if ( m_pChildren ) { if ( cocos2d::CCArray::count(m_pChildren) ) { data = a1->m_pChildren->data; num = data->num; arr = data->arr; for ( i = 0; i < num; ++i ) arr[i]->m_uUnknown = i; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source