// // EditorUI::showMaxCoinError from 0x1003eb204 to 0x1003eb2b4 (176 bytes) // // 1 xrefs: // > EditorUI::onCreate @ 0x1003e6c1c // // 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 EditorUI::showMaxCoinError(EditorUI *a1) { cocos2d::CCString *v2; // x0 char *CString; // x0 FLAlertLayer *v4; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] if ( !a1->m_alertShown ) { a1->m_alertShown = 1; v2 = (cocos2d::CCString *)sub_100268F4C("You cannot add more than 3 coins in a single level."); CString = (char *)cocos2d::CCString::getCString(v2); sub_100009900(__p, CString); v4 = FLAlertLayer::create_1( (__int64)&a1->FLAlertLayerProtocol, (__int64)"Max Coins", (__int64)__p, (__int64)"OK", 0, 300.0); if ( v6 < 0 ) operator delete(__p[0]); ((void (__fastcall *)(FLAlertLayer *, __int64))v4->setTag)(v4, 122); ((void (__fastcall *)(FLAlertLayer *))v4->show)(v4); } }