// // EditorUI::showMaxBasicError from 0x100476ef0 to 0x100476fb4 (196 bytes) // // 3 xrefs: // > EditorUI::onDuplicate @ 0x100189ba4 // > EditorUI::doPasteObjects @ 0x10018aba4 // > EditorUI::onCreate @ 0x1004745bc // // 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::showMaxBasicError(__int64 result) { __int64 v1; // x19 void *v2; // x0 char *CString; // x0 void *v4; // x19 void *__p[2]; // [xsp+18h] [xbp-28h] BYREF char v6; // [xsp+2Fh] [xbp-11h] if ( (*(_BYTE *)(result + 632) & 1) == 0 ) { v1 = result; *(_BYTE *)(result + 632) = 1; v2 = sub_1003065B0( "You have reached the max limit of %i objects. You can increase it to %i, but your level may b" "ecome unstable on some devices, so it is recommended to stay below this limit. Levels with object count above" " this limit will display a warning when played online.", 40000, 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)"Increase", 380.0); if ( v6 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 72LL))(v4, 125); return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source