// // sub_1003F2FB4 from 0x1003f2fb4 to 0x1003f3020 (108 bytes) // // 5 xrefs: // > cocos2d::CCNode::getChildren @ 0x1002d8324 // > cocos2d::CCNode::updateChildIndexes @ 0x1002d834c // > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x1002d8e30 // > sub_1003F2E34 @ 0x1003f2e44 // > sub_1003F3064 @ 0x1003f3084 // // 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:04:31 +0000 // __int64 __fastcall sub_1003F2FB4(__int64 result) { __int64 v1; // x8 __int64 v2; // x9 int v3; // w10 __int64 v4; // x11 __int64 v5; // x12 v1 = *(unsigned int *)(result + 8); if ( (_DWORD)v1 != -1 ) { if ( (int)v1 >= 1 ) { v2 = 0; v3 = 0; v4 = *(_QWORD *)(result + 16); do { v5 = *(_QWORD *)(v4 + 8 * v2); if ( v5 ) { if ( v3 >= 1 ) { *(_QWORD *)(v4 - 8LL * v3 + 8 * v2) = v5; v4 = *(_QWORD *)(result + 16); *(_DWORD *)(*(_QWORD *)(v4 - 8LL * v3 + 8 * v2) + 36LL) = v2 - v3; } } else { ++v3; } ++v2; } while ( v1 != v2 ); } *(_DWORD *)(result + 8) = -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source