// // EditorUI::showMaxError from 0x100476e14 to 0x100476ed4 (192 bytes) // // 4 xrefs: // > EditorUI::onDuplicate @ 0x100189b60 // > EditorUI::doPasteObjects @ 0x10018ab4c // > LevelEditorLayer::createObjectsFromString @ 0x1003f99c4 // > EditorUI::onCreate @ 0x100474528 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:05:41 +0000 // __int64 __fastcall EditorUI::showMaxError(__int64 result) { __int64 v1; // x19 void *v2; // x0 char *CString; // x0 void *v4; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] if ( (*(_BYTE *)(result + 632) & 1) == 0 ) { v1 = result; *(_BYTE *)(result + 632) = 1; v2 = sub_1003065B0( "You have reached the upper max limit of %i objects. This limit can be removed completely, but it is <" "cr>not recommended. Levels with object count above this limit will display a warning when played " "online.\n" "Unoptimized levels that use too many objects have a lower chance of being rated and featured.", 80000); CString = (char *)cocos2d::CCString::getCString((__int64)v2); sub_100009900(__p, CString); v4 = FLAlertLayer::create_1( v1 + 408, (__int64)"Max Objects", (__int64)__p, (__int64)"Cancel", (__int64)"Unlimited", 380.0); if ( v6 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 72LL))(v4, 126); return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4); } return result; }