// // cocos2d::CCNode::sortAllChildrenNoIndex from 0x1002d8cec to 0x1002d8dfc (272 bytes) // // 2 xrefs: // > cocos2d::CCSpriteBatchNode::sortAllChildren @ 0x10026fde8 // > cocos2d::CCNode::sortAllChildren @ 0x1002d8cd4 // // This function is hookable on this platform (idp: arm, 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 11:02:43 +0000 // __int64 __fastcall cocos2d::CCNode::sortAllChildrenNoIndex(__int64 result) { unsigned int *v1; // x8 __int64 v2; // x21 __int64 v3; // x22 __int64 i; // x23 __int64 v5; // x19 __int64 v6; // x24 __int64 v7; // x25 int v8; // w20 int v9; // w20 unsigned int v10; // w20 v1 = *(unsigned int **)(*(_QWORD *)(result + 208) + 56LL); v2 = *v1; if ( (int)v2 >= 2 ) { v3 = *((_QWORD *)v1 + 2); for ( i = 1; i != v2; ++i ) { v5 = *(_QWORD *)(v3 + 8 * i); v6 = i; while ( 1 ) { v7 = v6 - 1; v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 104LL))(v5); result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 8LL * (unsigned int)v7) + 104LL))(*(_QWORD *)(v3 + 8LL * (unsigned int)v7)); if ( v8 >= (int)result ) { v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 104LL))(v5); result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 8LL * (unsigned int)v7) + 104LL))(*(_QWORD *)(v3 + 8LL * (unsigned int)v7)); if ( v9 != (_DWORD)result ) break; v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 416LL))(v5); result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 8LL * (unsigned int)v7) + 416LL))(*(_QWORD *)(v3 + 8LL * (unsigned int)v7)); if ( v10 >= (unsigned int)result ) break; } *(_QWORD *)(v3 + 8 * v6--) = *(_QWORD *)(v3 + 8LL * (unsigned int)v7); if ( v7 + 1 <= 1 ) { LODWORD(v6) = 0; break; } } *(_QWORD *)(v3 + 8LL * (int)v6) = v5; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source