// // getDpadSetting from 0x5c6100 to 0x5c6184 (132 bytes) // // 2 xrefs: // > UILayer::refreshDpad @ 0x5c7e64 // > @ 0x52bc0 // // 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 // UIButtonConfig *__fastcall getDpadSetting(int a1, char a2) { UIButtonConfig *result; // x0 if ( a2 ) ++a1; switch ( a1 ) { case 1: result = &GameManager::sharedState()->m_dpad2; break; case 2: result = &GameManager::sharedState()->m_dpad3; break; case 3: result = &GameManager::sharedState()->m_dpad4; break; case 4: result = &GameManager::sharedState()->m_dpad5; break; default: result = &GameManager::sharedState()->m_dpad1; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source