//
// InfoLayer::getAccountID from 0x42f7c8 to 0x42f7e6 (30 bytes)
//
// 1 xrefs:
// > InfoLayer::onMore @ 0x42f7e8
//
// 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
//
int InfoLayer::getAccountID(InfoLayer *a1)
{
GJLevelList *m_levelList; // r3
int result; // r0
m_levelList = a1->m_levelList;
if ( m_levelList )
return m_levelList->m_accountID;
result = (int)a1->m_level;
if ( result )
return *(_DWORD *)(result + 336) - *(_DWORD *)(result + 340);
return result;
}