// // cocos2d::CCNode::qsortAllChildrenWithIndex from 0x1002738d0 to 0x100273955 (133 bytes) // // 1 xrefs: // > PlayLayer::resetLevel @ 0x1000bee29 // // 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 (__fastcall *v1)(); // rax cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // rdi unsigned __int64 num; // rax unsigned __int64 v6; // rcx __int64 v7; // rcx __int64 (__fastcall *v8)(); // [rsp-18h] [rbp-18h] BYREF if ( a1->m_bReorderChildDirty ) { v8 = v1; if ( a1->m_bUseChildIndex ) sub_100667630(a1->m_pChildren->data); data = a1->m_pChildren->data; arr = data->arr; num = data->num; _BitScanReverse64(&v6, num); v7 = (2 * ((unsigned int)v6 ^ 0x3F)) ^ 0x7ELL; v8 = sub_100273960; if ( !num ) v7 = 0; sub_100275860(arr, &arr[num], &v8, v7, 1); sub_100667C60(a1->m_pChildren->data); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source