// // EditorUI::showTextAlert from 0x6f1634 to 0x6f173c (264 bytes) // // 21 xrefs: // > LevelEditorLayer::doAutoSave @ 0x4729d6 // > LevelEditorLayer::doAutoBackup @ 0x472cb6 // > EditorUI::showGridSizeAlert @ 0x485a4c // > EditorUI::createGradientFromSelection @ 0x4878fe // > EditorUI::createGradientFromSelection @ 0x487b58 // > EditorUI::showLockedLayerAlert @ 0x6f17a8 // > EditorUI::handleEditorAction @ 0x6f1d04 // > EditorUI::handleEditorAction @ 0x6f1d4a // > EditorUI::handleEditorAction @ 0x6f1dc4 // > EditorUI::handleEditorAction @ 0x6f1e5c // > EditorUI::handleEditorAction @ 0x6f1edc // > EditorUI::handleEditorAction @ 0x6f23c2 // > EditorUI::handleEditorAction @ 0x6f2556 // > EditorUI::handleEditorAction @ 0x6f2590 // > EditorUI::handleEditorAction @ 0x6f25c4 // > EditorUI::handleEditorAction @ 0x6f25fc // > EditorUI::handleEditorAction @ 0x6f2632 // > EditorUI::handleEditorAction @ 0x6f267e // > EditorUI::handleEditorAction @ 0x6f26ae // > EditorUI::findObject @ 0x6f4cd8 // > EditorUI::toggleViewOption @ 0x70c32e // // 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:57:35 +0000 // _DWORD *__fastcall EditorUI::showTextAlert(int a1, _DWORD *a2, int a3, int a4, int a5) { char *v7; // r1 int v8; // r3 int v9; // r3 size_t v10; // r0 float *v11; // r6 float v13[2]; // [sp+Ch] [bp-30h] BYREF float v14[2]; // [sp+14h] [bp-28h] BYREF int v15[3]; // [sp+1Ch] [bp-20h] BYREF int v16[3]; // [sp+28h] [bp-14h] BYREF if ( !a4 ) { if ( a3 ) v7 = "On"; else v7 = "Off"; std::string::append(a2, v7); } v8 = *(unsigned __int8 *)a2; v15[0] = 0; v9 = v8 << 31; v15[1] = 0; if ( v9 >= 0 ) a2 = (_DWORD *)((char *)a2 + 1); v15[2] = 0; if ( v9 < 0 ) a2 = (_DWORD *)a2[2]; v10 = strlen((const char *)a2); std::string::__init(v15, a2, v10); memset(v16, 0, sizeof(v16)); std::string::__init(v16, "chatFont.fnt", 0xCu); v11 = (float *)TextAlertPopup::create((int)v15, (cocos2d::CCDelayTime *)0x3F19999A, 0.6, 100, (int)v16); std::string::~string((int)v16); std::string::~string((int)v15); TextAlertPopup::setLabelColor((int)v11, 65280, (int)&byte_BF01BC); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.0, 1.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 20.0, -20.0); TextAlertPopup::setAlertPosition(v11, v13, v14); if ( a5 ) return TextAlertPopup::replaceIn(a1, a5, v11, 100); else return (_DWORD *)(*(int (__fastcall **)(int, float *, int))(*(_DWORD *)a1 + 232))(a1, v11, 100); }
GD Web Decomp Icon

GD Web Decomp

Raw Source