//
// GJUINode::saveToConfig from 0x1404cee40 to 0x1404ceee8 (168 bytes)
//
// 6 xrefs:
// > UIOptionsLayer::onClose @ 0x1402a2e59
// > UIOptionsLayer::onClose @ 0x1402a2ea5
// > UIOptionsLayer::onClose @ 0x1402a2ef3
// > UIOptionsLayer::onClose @ 0x1402a2fd0
// > UIOptionsLayer::onClose @ 0x1402a301e
// > ??> @ 0x1406dd568
//
// 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)
{
const cocos2d::CCPoint *v4; // rax
a2->m_width = (int)a1->m_rect.size.width;
a2->m_height = (int)a1->m_rect.size.height;
a2->m_scale = a1->m_firstSprite->getScale(a1->m_firstSprite);
a2->m_opacity = a1->m_firstSprite->getOpacity(&a1->m_firstSprite->cocos2d::CCRGBAProtocol);
a2->m_radius = a1->m_radius;
a2->m_deadzone = a1->m_deadzone;
a2->m_modeB = a1->m_modeB;
v4 = a1->getPosition_0(a1);
cocos2d::CCPoint::operator=(&a2->m_position, v4);
a2->m_snap = a1->m_snap;
a2->m_split = a1->m_split;
}