//
// GJUINode::saveToConfig from 0x10004ae24 to 0x10004aebc (152 bytes)
//
// 5 xrefs:
// > UIOptionsLayer::onClose @ 0x1002e408c
// > UIOptionsLayer::onClose @ 0x1002e40a0
// > UIOptionsLayer::onClose @ 0x1002e4100
// > UIOptionsLayer::onClose @ 0x1002e4114
// > UIOptionsLayer::onClose @ 0x1002e4170
//
// 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 __fastcall GJUINode::saveToConfig(GJUINode *a1, UIButtonConfig *a2)
{
double *v4; // x0
*(int32x2_t *)&a2->m_width = vcvt_s32_f32((float32x2_t)a1->m_rect.size);
a2->m_scale = ((float (__fastcall *)(cocos2d::CCSprite *))a1->m_firstSprite->getScale)(a1->m_firstSprite);
a2->m_opacity = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_firstSprite->getOpacity)(a1->m_firstSprite);
a2->m_radius = a1->m_radius;
a2->m_deadzone = a1->m_deadzone;
a2->m_modeB = a1->m_modeB;
v4 = (double *)((__int64 (__fastcall *)(GJUINode *))a1->getPosition)(a1);
sub_1000229D0(&a2->m_position, v4);
a2->m_snap = a1->m_snap;
a2->m_split = a1->m_split;
}