//
// GJTransformControl::loadFromState from 0xbd0878 to 0xbd0938 (192 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::handleAction @ 0x7a205c
// > ??> @ 0xe5798
//
// 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
//
__int64 __fastcall GJTransformControl::loadFromState(cocos2d::CCArray **a1, _DWORD *a2)
{
cocos2d::CCArray *v4; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
v4 = a1[52];
*((_DWORD *)a1 + 151) = a2[8];
*((_DWORD *)a1 + 152) = a2[9];
*((_DWORD *)a1 + 148) = a2[16];
*((_DWORD *)a1 + 149) = a2[17];
(*(void (__fastcall **)(cocos2d::CCArray *))(*(_QWORD *)v4 + 360LL))(v4);
(*((void (__fastcall **)(cocos2d::CCArray **, _DWORD *))*a1 + 23))(a1, a2 + 10);
v5 = GJTransformControl::spriteByTag(a1, 1);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v5 + 184LL))(v5, &unk_155E9F0);
v6 = GJTransformControl::spriteByTag(a1, 10);
(*(void (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v6 + 184LL))(v6, a2 + 12);
v7 = GJTransformControl::spriteByTag(a1, 11);
return (*(__int64 (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v7 + 184LL))(v7, a2 + 14);
}