//
// UIButtonConfig::resetOneBtn from 0x413134 to 0x4131a6 (114 bytes)
//
// 4 xrefs:
// > GameManager::prepareDPadSettings @ 0x414dfc
// > GameManager::prepareDPadSettings @ 0x414e16
// > GameManager::resetDPadSettings @ 0x414e54
// > GameManager::resetDPadSettings @ 0x414e60
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:38 +0000
//
int __fastcall UIButtonConfig::resetOneBtn(UIButtonConfig *this)
{
float v2; // r7
int result; // r0
float v4[2]; // [sp+4h] [bp-20h] BYREF
_BYTE v5[4]; // [sp+Ch] [bp-18h] BYREF
float v6; // [sp+10h] [bp-14h]
_BYTE v7[8]; // [sp+14h] [bp-10h] BYREF
UIButtonConfig::reset(this);
*(_DWORD *)this = 200;
*((_DWORD *)this + 1) = 200;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v4, 95.0, 36.0);
v2 = v4[0];
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, 95.0, 36.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, v2, (float)(v6 + 60.0) + 100.0);
result = cocos2d::CCPoint::operator=((char *)this + 28, v7);
*((_BYTE *)this + 36) = 1;
return result;
}