// // UILayer::showTextAlert from 0x3fddf4 to 0x3fdee4 (240 bytes) // // 16 xrefs: // > UILayer::handleAction @ 0x3fe206 // > UILayer::handleAction @ 0x3fe26a // > UILayer::handleAction @ 0x3fe2fc // > UILayer::handleAction @ 0x3fe3c6 // > UILayer::handleAction @ 0x3fe408 // > UILayer::handleAction @ 0x3fe44a // > UILayer::handleAction @ 0x3fe4fe // > UILayer::handleAction @ 0x3fe59e // > UILayer::handleAction @ 0x3fe5fa // > UILayer::handleAction @ 0x3fe656 // > UILayer::handleAction @ 0x3fe72e // > UILayer::handleAction @ 0x3fe7a0 // > UILayer::handleAction @ 0x3fe82a // > UILayer::handleAction @ 0x3fe954 // > UILayer::handleAction @ 0x3fe99c // > UILayer::announceLevelControls @ 0x3fecb8 // // 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:47:22 +0000 // int __fastcall UILayer::showTextAlert(int a1, _DWORD *a2, int a3, int a4, int a5) { char *v7; // r1 int v8; // r3 int v9; // r3 size_t v10; // r0 int v11; // r4 _BYTE v13[8]; // [sp+Ch] [bp-2Ch] BYREF _BYTE v14[8]; // [sp+14h] [bp-24h] BYREF int v15[3]; // [sp+1Ch] [bp-1Ch] BYREF int v16[3]; // [sp+28h] [bp-10h] 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 = TextAlertPopup::create(v15, a5, 1058642330, 100, v16); std::string::~string((int)v16); std::string::~string((int)v15); TextAlertPopup::setLabelColor(v11, 65280); 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); return (*(int (__fastcall **)(int, int, int))(*(_DWORD *)a1 + 232))(a1, v11, 100); }
GD Web Decomp Icon

GD Web Decomp

Raw Source