//
// LevelInfoLayer::onLevelOptions from 0x3b17d0 to 0x3b182a (90 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 LevelInfoLayer::onLevelOptions(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GJGameLevel *m_level; // r1
int v4; // r7
GameLevelOptionsLayer *v5; // r0
_DWORD v6[3]; // [sp+0h] [bp-Ch] BYREF
v6[0] = a1;
v6[1] = a2;
if ( !a1->m_isBusy )
{
m_level = a1->m_level;
if ( m_level->m_levelType != SearchResult )
{
sub_775C20(v6, &m_level->m_levelString);
v4 = *(_DWORD *)(v6[0] - 12);
sub_774008(v6);
if ( v4 )
{
v5 = GameLevelOptionsLayer::create(a1->m_level);
v5->show(v5);
}
}
}
}