//
// SimplePlayer::asyncLoadIcon from 0x403b18 to 0x403b60 (72 bytes)
//
// 0 xrefs:
//
// 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 SimplePlayer::asyncLoadIcon(SimplePlayer *a1, int a2, IconType a3)
{
GameManager *v6; // r0
GameManager *v7; // r0
v6 = GameManager::sharedState();
if ( GameManager::isIconLoaded(v6, a2, a3) )
{
SimplePlayer::updatePlayerFrame(a1, a2, a3);
}
else
{
a1->m_iconLoaded = 1;
SimplePlayer::hideAll(a1);
v7 = GameManager::sharedState();
GameManager::loadIconAsync(v7, a2, a3, a1->m_iconRequestID, a1);
}
}