//
// GJUINode::saveToConfig from 0x3fd3a8 to 0x3fd408 (96 bytes)
//
// 11 xrefs:
// > UIOptionsLayer::onClose @ 0x5d3b08
// > UIOptionsLayer::onClose @ 0x5d3b18
// > UIOptionsLayer::onClose @ 0x5d3b2a
// > UIOptionsLayer::onClose @ 0x5d3b80
// > UIOptionsLayer::onClose @ 0x5d3b92
// > TouchControlEditLayer::saveTarget @ 0x7a4c88
// > TouchControlEditLayer::saveTarget @ 0x7a4caa
// > TouchControlEditLayer::saveTarget @ 0x7a4cbe
// > TouchControlEditLayer::saveTarget @ 0x7a4d18
// > TouchControlEditLayer::saveTarget @ 0x7a4d2c
// > TouchControlEditLayer::saveTarget @ 0x7a4d8a
//
// 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:47:21 +0000
//
int __fastcall GJUINode::saveToConfig(int a1, int a2)
{
int v4; // r0
int result; // r0
*(_DWORD *)a2 = (int)*(float *)(a1 + 280);
*(_DWORD *)(a2 + 4) = (int)*(float *)(a1 + 284);
*(_DWORD *)(a2 + 12) = GJUINode::getButtonScale((GJUINode *)a1);
*(_DWORD *)(a2 + 16) = GJUINode::getOpacity((GJUINode *)a1);
*(_DWORD *)(a2 + 20) = *(_DWORD *)(a1 + 308);
*(_DWORD *)(a2 + 8) = *(_DWORD *)(a1 + 312);
*(_BYTE *)(a2 + 24) = *(_BYTE *)(a1 + 317);
v4 = (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 96))(a1);
result = cocos2d::CCPoint::operator=(a2 + 28, v4);
*(_BYTE *)(a2 + 25) = *(_BYTE *)(a1 + 318);
*(_BYTE *)(a2 + 38) = *(_BYTE *)(a1 + 323);
return result;
}