//
// GameManager::prepareDPadSettings from 0x1401869f0 to 0x140186a8c (156 bytes)
//
// 5 xrefs:
// > GameManager::loadDPadLayout @ 0x140186354
// > GameManager::dataLoaded @ 0x1401879e6
// > UILayer::init @ 0x1404ccbfa
// > ??> @ 0x1406cb658
// > ??> @ 0x1406cb664
//
// 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 GameManager::prepareDPadSettings(GameManager *a1)
{
if ( a1->m_dpad1.m_scale <= 0.0 )
UIButtonConfig::reset(&a1->m_dpad1);
if ( a1->m_dpad2.m_scale <= 0.0 )
UIButtonConfig::reset(&a1->m_dpad2);
if ( a1->m_dpad3.m_scale <= 0.0 )
UIButtonConfig::reset(&a1->m_dpad3);
if ( a1->m_dpad4.m_scale <= 0.0 )
UIButtonConfig::resetOneBtn(&a1->m_dpad4);
if ( a1->m_dpad5.m_scale <= 0.0 )
UIButtonConfig::resetOneBtn(&a1->m_dpad5);
a1->m_dpad4.m_oneButton = 1;
*(_WORD *)&a1->m_dpad5.m_oneButton = 257;
a1->m_dpad3.m_player2 = 1;
}