// // PauseLayer::onTryEdit from 0x100143210 to 0x1001432d4 (196 bytes) // // 1 xrefs: // > PauseLayer::customSetup @ 0x1001420d0 // // 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 PauseLayer::onTryEdit(PauseLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCObject *v3; // x1 __int64 v4; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] if ( GameManager::sharedState()->m_playLayer->m_level->m_levelType == Editor ) { PauseLayer::onEdit(a1, v3); } else { sub_100009900(__p, "Are you sure you want to open the editor?\n(Read-Only)"); v4 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "Edit Level", __p, "Cancel", "Open", 380.0); if ( v6 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1288LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source