//
// SimplePlayer::asyncLoadIcon from 0x792eb4 to 0x792f38 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x59580
//
// 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; // x0
GameManager *v7; // x0
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);
}
}