// // LevelInfoLayer::onLevelOptions from 0x1000290c0 to 0x10002915c (156 bytes) // // 1 xrefs: // > LevelInfoLayer::init @ 0x100025e94 // // 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 __fastcall LevelInfoLayer::onLevelOptions(LevelInfoLayer *a1, cocos2d::CCObject *a2) { GJGameLevel *m_level; // x8 std::string *p_m_levelString; // x8 void *v5; // x20 GameLevelOptionsLayer *v6; // x0 void *__p[2]; // [xsp+0h] [xbp-30h] BYREF char *longStorage; // [xsp+10h] [xbp-20h] if ( !a1->m_isBusy ) { m_level = a1->m_level; if ( m_level->m_levelType != SearchResult ) { if ( m_level->m_levelString.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0( __p, (void *)m_level->m_levelString.m_data.m_long.capacitym1, m_level->m_levelString.m_data.m_long.size); } else { p_m_levelString = &m_level->m_levelString; *(_OWORD *)__p = *(_OWORD *)&p_m_levelString->m_data.m_short.sizex2; longStorage = p_m_levelString->m_data.m_long.longStorage; } if ( SHIBYTE(longStorage) >= 0 ) v5 = (void *)SHIBYTE(longStorage); else v5 = __p[1]; if ( (SHIBYTE(longStorage) & 0x8000000000000000LL) != 0 ) operator delete(__p[0]); if ( v5 ) { v6 = GameLevelOptionsLayer::create(a1->m_level); ((void (__fastcall *)(GameLevelOptionsLayer *))v6->show)(v6); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source