// // cocos2d::CCNode::setUseChildIndex from 0x10025fa40 to 0x10025fb46 (262 bytes) // // 1 xrefs: // > GJBaseGameLayer::setupLayers @ 0x1000eff8d // // 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 // void __fastcall cocos2d::CCNode::setUseChildIndex(__int64 a1, char a2) { __int64 v2; // rax int *v3; // rax __int64 v4; // rsi __int64 v5; // rax __int64 v6; // rcx __int64 v7; // rdx __int64 v8; // rsi if ( *(_BYTE *)(a1 + 312) != a2 ) { *(_BYTE *)(a1 + 312) = a2; if ( a2 ) { v2 = *(_QWORD *)(a1 + 208); if ( v2 ) { if ( (unsigned int)sub_1007FEF90(v2) ) { v3 = *(int **)(*(_QWORD *)(a1 + 208) + 56LL); v4 = *v3; if ( v4 > 0 ) { v5 = *((_QWORD *)v3 + 2); v6 = v4 & 7; if ( (unsigned int)v4 >= 8 ) { v8 = v4 & 0x7FFFFFF8; v7 = 0; do { *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7) + 36LL) = v7; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 8) + 36LL) = v7 + 1; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 16) + 36LL) = v7 + 2; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 24) + 36LL) = v7 + 3; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 32) + 36LL) = v7 + 4; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 40) + 36LL) = v7 + 5; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 48) + 36LL) = v7 + 6; *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7 + 56) + 36LL) = v7 + 7; v7 += 8; } while ( v7 != v8 ); } else { v7 = 0; } for ( ; v6; --v6 ) { *(_DWORD *)(*(_QWORD *)(v5 + 8 * v7) + 36LL) = v7; ++v7; } } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source