//
// UIButtonConfig::reset from 0x4130c0 to 0x413124 (100 bytes)
//
// 15 xrefs:
// > UIButtonConfig::resetOneBtn @ 0x413146
// > GameManager::prepareDPadSettings @ 0x414dae
// > GameManager::prepareDPadSettings @ 0x414dc8
// > GameManager::prepareDPadSettings @ 0x414de2
// > GameManager::resetDPadSettings @ 0x414e3c
// > GameManager::resetDPadSettings @ 0x414e44
// > GameManager::resetDPadSettings @ 0x414e4c
// > GameManager::sharedState @ 0x416088
// > GameManager::sharedState @ 0x41609a
// > GameManager::sharedState @ 0x4160ac
// > GameManager::sharedState @ 0x4160be
// > GameManager::sharedState @ 0x4160d0
// > LevelControlConfig::slotFromConfig @ 0x798884
// > LevelControlConfig::decode @ 0x799dbc
// > LevelControlConfig::decode @ 0x799e50
//
// 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::reset(UIButtonConfig *this)
{
int v2; // r3
int result; // r0
_DWORD v4[4]; // [sp+4h] [bp+0h] BYREF
v2 = _stack_chk_guard;
*((_BYTE *)this + 24) = 0;
v4[2] = v2;
*(_DWORD *)this = 280;
*((_DWORD *)this + 1) = 120;
*((_DWORD *)this + 2) = 0;
*((_DWORD *)this + 3) = 1065353216;
*((_DWORD *)this + 4) = 255;
*((_DWORD *)this + 5) = 1092616192;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v4, 95.0, 36.0);
result = cocos2d::CCPoint::operator=((char *)this + 28, v4);
*((_BYTE *)this + 36) = 0;
*((_BYTE *)this + 37) = 0;
*((_BYTE *)this + 25) = 0;
*((_BYTE *)this + 38) = 0;
return result;
}