// // cocos2d::CCNode::setUseChildIndex from 0xd3eaf8 to 0xd3eb70 (120 bytes) // // 2 xrefs: // > GJBaseGameLayer::setupLayers @ 0x9f5e44 // > @ 0xe2e70 // // 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 13:07:29 +0000 // __int64 __fastcall cocos2d::CCNode::setUseChildIndex(__int64 this, unsigned __int8 a2) { __int64 v2; // x19 __int64 v3; // x1 int v4; // w2 __int64 v5; // x3 if ( *(unsigned __int8 *)(this + 312) != a2 ) { *(_BYTE *)(this + 312) = a2; if ( a2 ) { if ( *(_QWORD *)(this + 208) ) { v2 = this; this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(this + 208)); if ( (_DWORD)this ) { this = 0; v3 = *(_QWORD *)(*(_QWORD *)(v2 + 208) + 56LL); v4 = *(_DWORD *)v3; v5 = *(_QWORD *)(v3 + 16); if ( *(int *)v3 > 0 ) { do { *(_DWORD *)(*(_QWORD *)(v5 + 8 * this) + 36LL) = this; ++this; } while ( v4 > (int)this ); } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source