// // GameManager::prepareDPadSettings from 0x10031b1b8 to 0x10031b24c (148 bytes) // // 4 xrefs: // > UILayer::init @ 0x100049044 // > UILayer::refreshDpad @ 0x100049890 // > GameManager::loadDPadLayout @ 0x10031aed4 // > GameManager::dataLoaded @ 0x10031bfd0 // // 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 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source