// // cocos2d::CCNode::sortAllChildrenNoIndex from 0x10025fd70 to 0x10025fe6f (255 bytes) // // 1 xrefs: // > cocos2d::CCSpriteBatchNode::sortAllChildren @ 0x10015632e // // 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 // int *__fastcall cocos2d::CCNode::sortAllChildrenNoIndex(__int64 a1) { int *result; // rax __int64 v2; // rbx __int64 v3; // r14 __int64 v4; // r15 int v5; // r13d int v6; // r13d unsigned int v7; // r13d __int64 v8; // [rsp+0h] [rbp-40h] __int64 v9; // [rsp+8h] [rbp-38h] __int64 v10; // [rsp+10h] [rbp-30h] result = *(int **)(*(_QWORD *)(a1 + 208) + 56LL); v9 = *result; if ( v9 >= 2 ) { v2 = *((_QWORD *)result + 2); v3 = 1; do { v4 = *(_QWORD *)(v2 + 8 * v3); v8 = v3; while ( 1 ) { v10 = v3--; v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 104LL))(v4); if ( v5 >= (*(int (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 8LL * (unsigned int)v3) + 104LL))(*(_QWORD *)(v2 + 8LL * (unsigned int)v3)) ) { v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 104LL))(v4); if ( v6 != (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 8LL * (unsigned int)v3) + 104LL))(*(_QWORD *)(v2 + 8LL * (unsigned int)v3)) ) break; v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 416LL))(v4); if ( v7 >= (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 8LL * (unsigned int)v3) + 416LL))(*(_QWORD *)(v2 + 8LL * (unsigned int)v3)) ) break; } *(_QWORD *)(v2 + 8 * v10) = *(_QWORD *)(v2 + 8LL * (unsigned int)v3); if ( v3 + 1 <= 1 ) { LODWORD(result) = 0; goto LABEL_4; } } LODWORD(result) = v10; LABEL_4: result = (int *)(int)result; *(_QWORD *)(v2 + 8LL * (int)result) = v4; v3 = v8 + 1; } while ( v8 + 1 != v9 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source