//
// InfoLayer::getID from 0x7e1d8c to 0x7e1dd0 (68 bytes)
//
// 15 xrefs:
// > InfoLayer::updateUserScoreFinished @ 0x7e1e0c
// > InfoLayer::onCopyLevelID @ 0x7e1e84
// > InfoLayer::onComment @ 0x7e2074
// > InfoLayer::onComment @ 0x7e20bc
// > InfoLayer::FLAlert_Clicked @ 0x7e2474
// > InfoLayer::commentUploadFailed @ 0x7e252c
// > InfoLayer::confirmReport @ 0x7e265c
// > InfoLayer::loadPage @ 0x7e335c
// > InfoLayer::loadPage @ 0x7e34ec
// > InfoLayer::onRefreshComments @ 0x7e36c4
// > InfoLayer::init @ 0x7e4550
// > InfoLayer::init @ 0x7e4f90
// > InfoLayer::toggleSmallCommentMode @ 0x7e5cdc
// > InfoLayer::commentUploadFinished @ 0x7e5d28
// > ??> @ 0xc37f8
//
// 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::getID(InfoLayer *a1)
{
GJUserScore *m_score; // x1
GJLevelList *m_levelList; // x1
GJGameLevel *m_level; // x1
m_score = a1->m_score;
if ( m_score )
return m_score->m_userID;
m_levelList = a1->m_levelList;
if ( m_levelList )
return -m_levelList->m_listID;
m_level = a1->m_level;
if ( m_level )
return m_level->m_levelID.random - m_level->m_levelID.seed;
else
return 0;
}