//
// GJUINode::saveToConfig from 0x140673ee0 to 0x140673f88 (168 bytes)
//
// 7 xrefs:
// > TouchControlEditLayer::saveTarget @ 0x140454bb5
// > TouchControlEditLayer::saveTarget @ 0x140454c4e
// > TouchControlEditLayer::saveTarget @ 0x140454cc6
// > TouchControlEditLayer::saveTarget @ 0x140454d1e
// > TouchControlEditLayer::saveTarget @ 0x140454e0e
// > TouchControlEditLayer::saveTarget @ 0x140454e66
// > ??> @ 0x140932408
//
// 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 11:35:55 +0000
//
__int64 __fastcall GJUINode::saveToConfig(__int64 a1, __int64 a2)
{
__int64 v4; // rax
__int64 result; // rax
*(_DWORD *)a2 = (int)*(float *)(a1 + 344);
*(_DWORD *)(a2 + 4) = (int)*(float *)(a1 + 348);
*(float *)(a2 + 12) = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 320) + 168LL))(*(_QWORD *)(a1 + 320));
*(_DWORD *)(a2 + 16) = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 320) + 320LL) + 32LL))(*(_QWORD *)(a1 + 320) + 320LL);
*(_DWORD *)(a2 + 20) = *(_DWORD *)(a1 + 372);
*(_DWORD *)(a2 + 8) = *(_DWORD *)(a1 + 376);
*(_BYTE *)(a2 + 24) = *(_BYTE *)(a1 + 381);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1);
cocos2d::CCPoint::operator=(a2 + 28, v4);
*(_BYTE *)(a2 + 25) = *(_BYTE *)(a1 + 382);
result = *(unsigned __int8 *)(a1 + 387);
*(_BYTE *)(a2 + 38) = result;
return result;
}