// // cocos2d::CCNode::setUseChildIndex from 0xaccb88 to 0xaccc00 (120 bytes) // // 2 xrefs: // > GJBaseGameLayer::setupLayers @ 0x8a0b24 // > @ 0xad520 // // 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) { __int64 v3; // x0 cocos2d::ccArray *data; // x1 int num; // w2 cocos2d::CCObject **arr; // x3 if ( a1->m_bUseChildIndex != a2 ) { a1->m_bUseChildIndex = a2; if ( a2 ) { if ( a1->m_pChildren ) { if ( (unsigned int)cocos2d::CCArray::count(a1->m_pChildren) ) { v3 = 0; data = a1->m_pChildren->data; num = data->num; arr = data->arr; if ( (int)data->num > 0 ) { do { arr[v3]->m_uUnknown = v3; ++v3; } while ( num > (int)v3 ); } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source