// // UILayer::showTextAlert from 0x6f0b68 to 0x6f0d3c (468 bytes) // // 17 xrefs: // > UILayer::handleAction @ 0x6f0e80 // > UILayer::handleAction @ 0x6f0f0c // > UILayer::handleAction @ 0x6f0fc4 // > UILayer::handleAction @ 0x6f103c // > UILayer::handleAction @ 0x6f1098 // > UILayer::handleAction @ 0x6f1150 // > UILayer::handleAction @ 0x6f11d4 // > UILayer::handleAction @ 0x6f1230 // > UILayer::handleAction @ 0x6f135c // > UILayer::handleAction @ 0x6f13bc // > UILayer::handleAction @ 0x6f17fc // > UILayer::handleAction @ 0x6f18a0 // > UILayer::handleAction @ 0x6f190c // > UILayer::handleAction @ 0x6f197c // > UILayer::handleAction @ 0x6f1b20 // > UILayer::announceLevelControls @ 0x6f1eac // > @ 0x922f0 // // 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 12:51:48 +0000 // __int64 __fastcall UILayer::showTextAlert(__int64 a1, __int64 a2, char a3, char a4, float a5) { size_t v8; // x2 char *v9; // x1 const char *v10; // x1 size_t v11; // x0 __int64 v12; // x21 char *v14; // [xsp+48h] [xbp+48h] _BYTE v15[8]; // [xsp+58h] [xbp+58h] BYREF _BYTE v16[8]; // [xsp+60h] [xbp+60h] BYREF __int64 v17[2]; // [xsp+68h] [xbp+68h] BYREF void *v18; // [xsp+78h] [xbp+78h] __int64 v19[2]; // [xsp+80h] [xbp+80h] BYREF void *v20; // [xsp+90h] [xbp+90h] if ( !a4 ) { if ( a3 ) { v8 = 2; v9 = "On"; } else { v8 = 3; v9 = "Off"; } std::string::append(a2, v9, v8); } v10 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v10 = *(const char **)(a2 + 16); v14 = (char *)v10; v17[0] = 0; v17[1] = 0; v18 = nullptr; v11 = strlen(v10); std::string::__init(v17, v14, v11); v19[0] = 0; v19[1] = 0; v20 = nullptr; std::string::__init(v19, "chatFont.fnt", 0xCu); v12 = TextAlertPopup::create(v17, 100, v19, a5, 0.6); if ( (v19[0] & 1) != 0 ) operator delete(v20); if ( (v17[0] & 1) != 0 ) operator delete(v18); TextAlertPopup::setLabelColor(v12, 65280); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 1.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 20.0, -20.0); TextAlertPopup::setAlertPosition(v12, v15, v16); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v12, 100); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source