//
// GJTransformControl::saveToState from 0x6ebff8 to 0x6ec05a (98 bytes)
//
// 1 xrefs:
// > EditorUI::getTransformState @ 0x70f6c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:32 +0000
//
int __fastcall GJTransformControl::saveToState(cocos2d::CCArray **a1, _DWORD *a2)
{
int v4; // r0
int v5; // r0
int v6; // r0
int v7; // r0
int v8; // r1
a2[8] = a1[115];
a2[9] = a1[116];
a2[16] = a1[112];
a2[17] = a1[113];
v4 = (*((int (__fastcall **)(cocos2d::CCArray **))*a1 + 24))(a1);
cocos2d::CCPoint::operator=(a2 + 10, v4);
v5 = GJTransformControl::spriteByTag(a1, 10);
v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 96))(v5);
cocos2d::CCPoint::operator=(a2 + 12, v6);
v7 = GJTransformControl::spriteByTag(a1, 11);
v8 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 96))(v7);
return cocos2d::CCPoint::operator=(a2 + 14, v8);
}