// // cocos2d::CCNode::qsortAllChildrenWithIndex from 0x10025fe70 to 0x10025fef5 (133 bytes) // // 1 xrefs: // > PlayLayer::resetLevel @ 0x10008d459 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:27:30 +0000 // __int64 __fastcall cocos2d::CCNode::qsortAllChildrenWithIndex(__int64 a1) { __int64 result; // rax unsigned int *v3; // rax __int64 v4; // rdi unsigned __int64 v5; // rax unsigned __int64 v6; // rcx __int64 v7; // rcx __int64 (__fastcall *v8)(); // [rsp-18h] [rbp-18h] BYREF if ( *(_BYTE *)(a1 + 288) == 1 ) { v8 = (__int64 (__fastcall *)())result; if ( *(_BYTE *)(a1 + 312) == 1 ) sub_100746B60(*(_QWORD *)(*(_QWORD *)(a1 + 208) + 56LL)); v3 = *(unsigned int **)(*(_QWORD *)(a1 + 208) + 56LL); v4 = *((_QWORD *)v3 + 2); v5 = *v3; _BitScanReverse64(&v6, v5); v7 = (2 * ((unsigned int)v6 ^ 0x3F)) ^ 0x7ELL; v8 = sub_10025FF00; if ( !v5 ) v7 = 0; sub_100261E00(v4, v4 + 8 * v5, &v8, v7, 1); return sub_100747190(*(_QWORD *)(*(_QWORD *)(a1 + 208) + 56LL)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source