// // GameManager::iconAndTypeForKey from 0x5eba78 to 0x5ebb34 (188 bytes) // // 2 xrefs: // > GameManager::finishedLoadingIconAsync @ 0x5fdd88 // > @ 0x4dd00 // // 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::iconAndTypeForKey(GameManager *a1, int a2, int *a3, int *a4) { int *m_start; // x0 int v5; // w4 m_start = a1->m_keyStartForIcon.m_start; if ( a2 < m_start[1] ) { v5 = 0; } else if ( a2 < m_start[2] ) { v5 = 1; } else if ( a2 < m_start[3] ) { v5 = 2; } else if ( a2 < m_start[4] ) { v5 = 3; } else if ( a2 < m_start[5] ) { v5 = 4; } else if ( a2 < m_start[6] ) { v5 = 5; } else if ( a2 < m_start[7] ) { v5 = 6; } else { if ( m_start[8] <= a2 ) return; v5 = 7; } *a4 = v5; *a3 = a2 - m_start[v5] + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source