// // UILayer::showTextAlert from 0x1406711d0 to 0x1406713b6 (486 bytes) // // 8 xrefs: // > UILayer::announceLevelControls @ 0x140670f44 // > UILayer::handleAction @ 0x14067210f // > UILayer::handleAction @ 0x14067221d // > UILayer::handleAction @ 0x1406726ba // > UILayer::handleAction @ 0x1406728d4 // > UILayer::handleAction @ 0x140672b69 // > UILayer::handleAction @ 0x140672bd9 // > @ 0x140932324 // // This function is hookable on this platform (idp: pc, 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 11:35:54 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall UILayer::showTextAlert(__int64 a1, _QWORD *a2, char a3, char a4) { size_t v6; // rbx __int16 *v7; // rdx size_t v8; // r8 _BYTE *v9; // rdx __int64 v10; // rdx __int64 v11; // r8 cocos2d::CCNode *v12; // rsi __int64 v13; // r9 float *v14; // rax float *v15; // rbx float *v16; // rax __int16 v17; // [rsp+30h] [rbp-98h] BYREF char v18; // [rsp+32h] [rbp-96h] _QWORD *v19; // [rsp+40h] [rbp-88h] BYREF _BYTE v20[8]; // [rsp+48h] [rbp-80h] BYREF _QWORD v21[4]; // [rsp+50h] [rbp-78h] BYREF __int128 v22; // [rsp+70h] [rbp-58h] BYREF __int64 v23; // [rsp+80h] [rbp-48h] __int64 v24; // [rsp+88h] [rbp-40h] _QWORD *v25; // [rsp+90h] [rbp-38h] v25 = a2; v6 = -1; if ( !a4 ) { v7 = (__int16 *)&dword_1407521B0; if ( a3 ) v7 = &word_1407521B4; v8 = -1; do ++v8; while ( *((_BYTE *)v7 + v8) ); sub_140044D80(a2, v7, v8); } v19 = v21; v21[2] = 12; v21[3] = 15; v21[0] = *(_QWORD *)"chatFont.fnt"; v21[1] = *(unsigned int *)".fnt"; v9 = a2; if ( a2[3] > 0xFu ) v9 = (_BYTE *)*a2; v22 = 0; v23 = 0; v24 = 0; do ++v6; while ( v9[v6] ); sub_14003D230(&v22, v9, v6); v12 = TextAlertPopup::create((__int64)&v22, v10, v11, 100, (__int64)v21); v17 = -256; v18 = 0; v13 = *((_QWORD *)v12 + 41); if ( v13 ) (**(void (__fastcall ***)(__int64, __int16 *))(v13 + 368))(v13 + 368, &v17); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, 20.0, -20.0); v15 = v14; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 1.0); TextAlertPopup::setAlertPosition((__int64)v12, v16, v15); (*(void (__fastcall **)(__int64, cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v12, 100); sub_14003D310((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source