// // cocos2d::CCNode::insertChild from 0x180003720 to 0x18000376d (77 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801b72f4 // // 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 11:21:17 +0000 // void __fastcall cocos2d::CCNode::insertChild(cocos2d::CCNode *this, struct cocos2d::CCNode *a2, unsigned int a3) { __int64 v3; // rax bool v5; // zf __int64 v7; // rcx v3 = *((_QWORD *)this + 26); v5 = *((_BYTE *)this + 312) == 0; *((_BYTE *)this + 288) = 1; v7 = *(_QWORD *)(v3 + 56); if ( v5 ) sub_1800A12A0(v7, a2); else sub_1800A1380(v7, a2); (*(void (__fastcall **)(struct cocos2d::CCNode *, _QWORD))(*(_QWORD *)a2 + 88LL))(a2, a3); }