//
// GJTransformControl::saveToState from 0xbd0938 to 0xbd09d4 (156 bytes)
//
// 2 xrefs:
// > EditorUI::getTransformState @ 0xc034c4
// > ??> @ 0x607f0
//
// 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:03:37 +0000
//
__n128 __fastcall GJTransformControl::saveToState(cocos2d::CCArray **a1, _DWORD *a2)
{
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
__int64 v8; // x0
a2[8] = *((_DWORD *)a1 + 151);
a2[9] = *((_DWORD *)a1 + 152);
a2[16] = *((_DWORD *)a1 + 148);
a2[17] = *((_DWORD *)a1 + 149);
v4 = (*((__int64 (__fastcall **)(cocos2d::CCArray **))*a1 + 24))(a1);
cocos2d::CCPoint::operator=(a2 + 10, v4);
v5 = GJTransformControl::spriteByTag(a1, 10);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5);
cocos2d::CCPoint::operator=(a2 + 12, v6);
v7 = GJTransformControl::spriteByTag(a1, 11);
v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 192LL))(v7);
return cocos2d::CCPoint::operator=(a2 + 14, v8);
}