// // cocos2d::CCNode::qsortAllChildrenWithIndex from 0x10023be00 to 0x10023be94 (148 bytes) // // 3 xrefs: // > PlayLayer::resetLevel @ 0x1001223c4 // > cocos2d::CCNode::sortAllChildren @ 0x10023bcd0 // > j_cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x10023bcec // // 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 __fastcall cocos2d::CCNode::qsortAllChildrenWithIndex(cocos2d::CCNode *a1) { __int64 (*v1)(void); // x29 __int64 (*v2)(void); // x30 cocos2d::ccArray *data; // x8 __int64 arr; // x0 unsigned __int64 num; // x8 unsigned __int64 v7; // x9 __int64 v8; // x3 __int64 (*v9[5])(void); // [xsp+8h] [xbp-28h] BYREF if ( a1->m_bReorderChildDirty ) { v9[3] = v1; v9[4] = v2; if ( a1->m_bUseChildIndex ) sub_1003536C4(a1->m_pChildren->data); data = a1->m_pChildren->data; arr = (__int64)data->arr; num = data->num; v9[0] = sub_10023BE94; v7 = 126 - 2 * __clz(num); if ( (_DWORD)num ) v8 = v7; else v8 = 0; sub_10002FB2C(arr, (int8x16_t *)(arr + 8 * num), v9, v8, 1); sub_100353A04(a1->m_pChildren->data); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source