//
// GJUINode::saveToConfig from 0x1004cb260 to 0x1004cb301 (161 bytes)
//
// 5 xrefs:
// > UIOptionsLayer::onClose @ 0x1002b46af
// > UIOptionsLayer::onClose @ 0x1002b46ca
// > UIOptionsLayer::onClose @ 0x1002b4742
// > UIOptionsLayer::onClose @ 0x1002b475d
// > UIOptionsLayer::onClose @ 0x1002b47cd
//
// 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 *v2; // rax
_mm_storel_ps((double *)&a2->m_width, (__m128)_mm_cvttps_epi32((__m128)(unsigned __int64)a1->m_rect.size));
a2->m_scale = ((float (__fastcall *)(cocos2d::CCSprite *))a1->m_firstSprite->getScale)(a1->m_firstSprite);
a2->m_opacity = ((unsigned __int8 (__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;
v2 = (double *)((__int64 (__fastcall *)(GJUINode *))a1->getPosition)(a1);
sub_10028CC90(&a2->m_position, v2);
a2->m_snap = a1->m_snap;
a2->m_split = a1->m_split;
}