// // EditorUI::showMaxBasicError from 0x485d08 to 0x485da6 (158 bytes) // // 3 xrefs: // > EditorUI::onCreate @ 0x487836 // > EditorUI::doPasteObjects @ 0x6f3258 // > EditorUI::onDuplicate @ 0x6f39c6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:49:25 +0000 // int __fastcall EditorUI::showMaxBasicError(int this) { int v1; // r4 int v2; // r5 cocos2d::CCString *v3; // r0 const char *CString; // r7 size_t v5; // r0 int *v6; // r5 int v7[3]; // [sp+8h] [bp-14h] BYREF v1 = *(unsigned __int8 *)(this + 464); v2 = this; if ( !*(_BYTE *)(this + 464) ) { *(_BYTE *)(this + 464) = 1; v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"You have reached the max limit of %i objects. You can incre" "ase it to %i, but your level may become unstable on some de" "vices, so it is recommended to stay below this limit. Levels with o" "bject count above this limit will display a warning when played online.", (const char *)&stru_9C3C.st_value, 80000); v7[0] = v1; v7[1] = v1; v7[2] = v1; CString = (const char *)cocos2d::CCString::getCString(v3); v5 = strlen(CString); std::string::__init(v7, CString, v5); v6 = FLAlertLayer::create( v2 + 316, (cocos2d::CCLabelBMFont *)"Max Objects", (int)v7, (ButtonSprite *)"Cancel", (ButtonSprite *)"Increase", 380.0); std::string::~string((int)v7); (*(void (__fastcall **)(int *, int))(*v6 + 36))(v6, 125); return (*(int (__fastcall **)(int *))(*v6 + 656))(v6); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source