//
// cocos2d::CCNode::insertChild from 0x10025f600 to 0x10025f64e (78 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall cocos2d::CCNode::insertChild(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v5; // rdi
*(_BYTE *)(a1 + 288) = 1;
v5 = *(_QWORD *)(*(_QWORD *)(a1 + 208) + 56LL);
if ( *(_BYTE *)(a1 + 312) == 1 )
sub_100746CB0(v5, a2);
else
sub_100746BF0(v5, a2);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 96LL))(a2, a3);
}