// // EditorUI::showMaxError from 0x140112a10 to 0x140112b3e (302 bytes) // // 5 xrefs: // > EditorUI::onCreate @ 0x14010f44c // > EditorUI::onDuplicate @ 0x140112d06 // > EditorUI::doPasteObjects @ 0x1401133da // > LevelEditorLayer::createObjectsFromString @ 0x1402d4597 // > @ 0x1406c9060 // // 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 // // Hidden C++ exception states: #wind=1 void EditorUI::showMaxError(EditorUI *a1) { cocos2d::CCString *v2; // rax int v3; // edi const char *CString; // rax size_t v5; // r8 __int64 v6; // rax FLAlertLayer *v7; // rbx __int128 v8; // [rsp+50h] [rbp-48h] BYREF __int64 v9; // [rsp+60h] [rbp-38h] __int64 v10; // [rsp+68h] [rbp-30h] _BYTE v11[32]; // [rsp+70h] [rbp-28h] BYREF if ( !a1->m_alertShown ) { a1->m_alertShown = 1; v2 = cocos2d::CCString::createWithFormat( "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); v3 = (_DWORD)a1 + 408; if ( !a1 ) v3 = 0; CString = cocos2d::CCString::getCString(v2); v8 = 0; v9 = 0; v10 = 0; v5 = -1; do ++v5; while ( CString[v5] ); sub_14003A930(&v8, CString, v5); v6 = sub_14003BDB0((__int64)v11, (__int64)&v8); v7 = FLAlertLayer::create( v3, (int)"Max Objects", v6, (__int64)"Cancel", (__int64)"Unlimited", 1136525312, 0, 0, 1065353216); sub_14003A830((__int64)&v8); v7->setTag(v7, 126); v7->show(v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source