//
// UIButtonConfig::reset from 0x10031b24c to 0x10031b2c4 (120 bytes)
//
// 13 xrefs:
// > GameManager::prepareDPadSettings @ 0x10031b1d8
// > GameManager::prepareDPadSettings @ 0x10031b1ec
// > GameManager::prepareDPadSettings @ 0x10031b200
// > UIButtonConfig::resetOneBtn @ 0x10031b2e0
// > GameManager::resetDPadSettings @ 0x10031b38c
// > GameManager::resetDPadSettings @ 0x10031b394
// > GameManager::resetDPadSettings @ 0x10031b3bc
// > GameManager::firstLoad @ 0x10031c630
// > sub_10031E07C @ 0x10031e254
// > sub_10031E07C @ 0x10031e264
// > sub_10031E07C @ 0x10031e274
// > sub_10031E07C @ 0x10031e284
// > sub_10031E07C @ 0x10031e294
//
// 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 UIButtonConfig::reset(UIButtonConfig *a1)
{
__n128 v1; // q0
__n128 v2; // q1
double v4; // [xsp+8h] [xbp-18h] BYREF
v1.n128_u64[0] = 0x7842BE0000LL;
v2.n128_u64[0] = 0x3F80000042100000LL;
*(_QWORD *)&a1->m_width = 0x7800000118LL;
*(_QWORD *)&a1->m_deadzone = 0x3F80000000000000LL;
*(_QWORD *)&a1->m_opacity = 0x41200000000000FFLL;
a1->m_modeB = 0;
sub_100022980(v1, v2, &v4);
sub_1000229D0(&a1->m_position, &v4);
*(_WORD *)&a1->m_oneButton = 0;
a1->m_snap = 0;
a1->m_split = 0;
}