//
// GameManager::prepareDPadSettings from 0x140282620 to 0x1402826ad (141 bytes)
//
// 6 xrefs:
// > GameManager::loadDPadLayout @ 0x1402820ab
// > GameManager::dataLoaded @ 0x140283ccf
// > TouchControlEditLayer::onReset @ 0x1404554c4
// > TouchControlEditLayer::onPaste @ 0x1404561da
// > UILayer::init @ 0x140670070
// > ??> @ 0x14091d0c0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:29:00 +0000
//
void __fastcall GameManager::prepareDPadSettings(__int64 a1)
{
__int64 v2; // rcx
v2 = a1 + 1308;
if ( *(float *)(v2 + 12) <= 0.0 )
UIButtonConfig::reset(v2);
if ( *(float *)(a1 + 1360) <= 0.0 )
UIButtonConfig::reset(a1 + 1348);
if ( *(float *)(a1 + 1400) <= 0.0 )
UIButtonConfig::reset(a1 + 1388);
if ( *(float *)(a1 + 1440) <= 0.0 )
UIButtonConfig::resetOneBtn(a1 + 1428);
if ( *(float *)(a1 + 1480) <= 0.0 )
UIButtonConfig::resetOneBtn(a1 + 1468);
*(_BYTE *)(a1 + 1464) = 1;
*(_WORD *)(a1 + 1504) = 257;
*(_BYTE *)(a1 + 1425) = 1;
}