// // LevelInfoLayer::onLevelOptions from 0x6d5be4 to 0x6d5ccc (232 bytes) // // 3 xrefs: // > @ 0x94fe0 // > LevelInfoLayer::init @ 0x6dc604 // > @ 0x122d168 // // 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; // x1 void *v4; // x0 __int64 v5; // x21 GameLevelOptionsLayer *v6; // x0 unsigned int *v7; // x2 int v8; // w1 __int64 v9; // [xsp+40h] [xbp+40h] BYREF if ( !a1->m_isBusy ) { m_level = a1->m_level; if ( m_level->m_levelType != SearchResult ) { sub_D18D28(&v9, &m_level->m_levelString); v4 = (void *)(v9 - 24); v5 = *(_QWORD *)(v9 - 24); if ( (__int64 *)(v9 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v9 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v9 - 8); *(_DWORD *)(v9 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v4); } if ( v5 ) { v6 = GameLevelOptionsLayer::create(a1->m_level); v6->show(v6); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source