// // PauseLayer::onTryEdit from 0x3a8e00 to 0x3a8e92 (146 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 PauseLayer::onTryEdit(PauseLayer *a1, cocos2d::CCObject *a2) { FLAlertLayer *v4; // r5 _BYTE v5[4]; // [sp+10h] [bp-8h] BYREF if ( GameManager::sharedState()->m_playLayer->m_level->m_levelType == Editor ) { PauseLayer::onEdit(a1, a2); } else { sub_776584((int)v5, "Are you sure you want to open the editor?\n(Read-Only)"); v4 = FLAlertLayer::create( (int)&a1->FLAlertLayerProtocol, (int)"Edit Level", (int)v5, (int)"Cancel", (int)"Open", 380.0); sub_774008(v5); v4->setTag(v4, 1); v4->show(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source