//
// GJUINode::saveToConfig from 0x30dc4c to 0x30dcac (96 bytes)
//
// 5 xrefs:
// > UIOptionsLayer::onClose @ 0x4a91b8
// > UIOptionsLayer::onClose @ 0x4a91c8
// > UIOptionsLayer::onClose @ 0x4a91da
// > UIOptionsLayer::onClose @ 0x4a9230
// > UIOptionsLayer::onClose @ 0x4a9242
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJUINode::saveToConfig(GJUINode *a1, UIButtonConfig *a2)
{
int Opacity; // r0
const cocos2d::CCPoint *(__fastcall *getPosition)(cocos2d::CCNode *__hidden); // r3
int v6; // r0
a2->m_width = (int)a1->m_rect.size.width;
a2->m_height = (int)a1->m_rect.size.height;
a2->m_scale = GJUINode::getButtonScale(a1);
Opacity = GJUINode::getOpacity(a1);
a2->m_radius = a1->m_radius;
a2->m_deadzone = a1->m_deadzone;
a2->m_modeB = a1->m_modeB;
getPosition = a1->getPosition;
a2->m_opacity = Opacity;
v6 = (int)getPosition(a1);
cocos2d::CCPoint::operator=(&a2->m_position, v6);
a2->m_snap = a1->m_snap;
a2->m_split = a1->m_split;
}