//
// sub_10048414C from 0x10048414c to 0x1004841d8 (140 bytes)
//
// 2 xrefs:
// > sub_10048401C @ 0x10048407c
// > sub_10048401C @ 0x100484088
//
// This function is hookable on this platform (idp: arm, 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:05:48 +0000
//
__int64 __fastcall sub_10048414C(__int64 a1, unsigned int a2)
{
int v3; // w19
__int64 v4; // x0
if ( a2 && !((int)a2 % 22) )
return 3419173;
while ( a2 >= 9 )
a2 = (int)a2 % 9;
v3 = dword_10076F388[a2];
v4 = GameManager::sharedState();
return GameManager::colorForIdx(v4, v3);
}