//
// GJBaseGameLayer::prepareTransformParent from 0x1001226d0 to 0x100122731 (97 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:24:39 +0000
//
__int64 __fastcall GJBaseGameLayer::prepareTransformParent(_QWORD *a1, int a2)
{
_QWORD *v2; // rax
cocos2d::CCObject::retain(a1[259]);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)a1[259] + 528LL))(a1[259], 0);
v2 = a1 + 255;
if ( a2 )
v2 = a1 + 258;
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 456LL))(*v2, a1[259]);
return cocos2d::CCObject::release(a1[259]);
}