// // EditorUI::showTextAlert from 0xbd6e1c to 0xbd700c (496 bytes) // // 22 xrefs: // > LevelEditorLayer::doAutoSave @ 0x7a7ec8 // > LevelEditorLayer::doAutoBackup @ 0x7a8458 // > EditorUI::showGridSizeAlert @ 0x7c179c // > EditorUI::createGradientFromSelection @ 0x7cadc0 // > EditorUI::createGradientFromSelection @ 0x7caecc // > EditorUI::showLockedLayerAlert @ 0xbd70f0 // > EditorUI::handleEditorAction @ 0xbd72c0 // > EditorUI::handleEditorAction @ 0xbd7388 // > EditorUI::handleEditorAction @ 0xbd7564 // > EditorUI::handleEditorAction @ 0xbd79d8 // > EditorUI::handleEditorAction @ 0xbd7aec // > EditorUI::handleEditorAction @ 0xbd7bd4 // > EditorUI::handleEditorAction @ 0xbd7ccc // > EditorUI::handleEditorAction @ 0xbd7ef0 // > EditorUI::handleEditorAction @ 0xbd7f8c // > EditorUI::handleEditorAction @ 0xbd84b8 // > EditorUI::handleEditorAction @ 0xbd8598 // > EditorUI::handleEditorAction @ 0xbd8600 // > EditorUI::handleEditorAction @ 0xbd8650 // > EditorUI::findObject @ 0xbdd8e8 // > EditorUI::toggleViewOption @ 0xbfe910 // > @ 0x91b88 // // 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 13:03:40 +0000 // __int64 __fastcall EditorUI::showTextAlert(__int64 a1, __int64 a2, char a3, char a4, unsigned int a5) { const char *v8; // x1 size_t v9; // x0 _QWORD *v10; // x21 char *v12; // [xsp+48h] [xbp+48h] float v13; // [xsp+58h] [xbp+58h] BYREF float v14; // [xsp+60h] [xbp+60h] BYREF __int64 v15[2]; // [xsp+68h] [xbp+68h] BYREF void *v16; // [xsp+78h] [xbp+78h] __int64 v17[2]; // [xsp+80h] [xbp+80h] BYREF void *v18; // [xsp+90h] [xbp+90h] if ( !a4 ) { if ( a3 ) std::string::append(a2, "On", 2u); else std::string::append(a2, "Off", 3u); } v8 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v8 = *(const char **)(a2 + 16); v12 = (char *)v8; v15[0] = 0; v15[1] = 0; v16 = nullptr; v9 = strlen(v8); std::string::__init(v15, v12, v9); v17[0] = 0; v17[1] = 0; v18 = nullptr; std::string::__init(v17, "chatFont.fnt", 0xCu); v10 = (_QWORD *)TextAlertPopup::create((char *)v15, 100, (char *)v17, 0.6, 0.6); if ( (v17[0] & 1) != 0 ) operator delete(v18); if ( (v15[0] & 1) != 0 ) operator delete(v16); TextAlertPopup::setLabelColor((__int64)v10, 65280); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 0.0, 1.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, 20.0, -20.0); TextAlertPopup::setAlertPosition((__int64)v10, &v13, &v14); if ( a5 ) TextAlertPopup::replaceIn(a1, a5, v10, 0x64u); else (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v10, 100); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source