//
// GJBaseGameLayer::prepareTransformParent from 0x100292f04 to 0x100292f68 (100 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::transformAreaObjects @ 0x100292b48
// > GJBaseGameLayer::rotateAreaObjects @ 0x100293054
// > GJBaseGameLayer::processTransformActions @ 0x100293bc8
// > GJBaseGameLayer::processRotationActions @ 0x100294438
// > GJBaseGameLayer::rotateObjects @ 0x100295228
//
// 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 11:02:04 +0000
//
_DWORD *__fastcall GJBaseGameLayer::prepareTransformParent(__int64 a1, int a2)
{
__int64 v4; // x8
cocos2d::CCObject::retain(*(_QWORD *)(a1 + 2072));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 2072) + 528LL))(*(_QWORD *)(a1 + 2072), 0);
v4 = 2040;
if ( a2 )
v4 = 2064;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + v4) + 456LL))(
*(_QWORD *)(a1 + v4),
*(_QWORD *)(a1 + 2072));
return cocos2d::CCObject::release(*(_DWORD **)(a1 + 2072));
}