// // UILayer::showTextAlert from 0x100051384 to 0x100051498 (276 bytes) // // 16 xrefs: // > UILayer::announceLevelControls @ 0x1000512a8 // > UILayer::handleAction @ 0x1000519b0 // > UILayer::handleAction @ 0x100051b1c // > UILayer::handleAction @ 0x100051bac // > UILayer::handleAction @ 0x100051c5c // > UILayer::handleAction @ 0x100051cb4 // > UILayer::handleAction @ 0x100051d84 // > UILayer::handleAction @ 0x100051e70 // > UILayer::handleAction @ 0x100051f88 // > UILayer::handleAction @ 0x100051fe0 // > UILayer::handleAction @ 0x1000521d0 // > UILayer::handleAction @ 0x10005222c // > UILayer::handleAction @ 0x1000522a0 // > UILayer::handleAction @ 0x100052314 // > UILayer::handleAction @ 0x1000524bc // > UILayer::handleAction @ 0x100052508 // // 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 10:57:43 +0000 // __int64 __fastcall UILayer::showTextAlert(__int64 a1, std::string *__s, int a3, char a4, float a5) { const std::string::value_type *v8; // x1 __int64 v9; // x20 float v11; // [xsp+0h] [xbp-60h] BYREF float v12; // [xsp+8h] [xbp-58h] BYREF void *__p[2]; // [xsp+10h] [xbp-50h] BYREF char v14; // [xsp+27h] [xbp-39h] void *v15[2]; // [xsp+28h] [xbp-38h] BYREF char v16; // [xsp+3Fh] [xbp-21h] if ( (a4 & 1) == 0 ) { if ( a3 ) v8 = "On"; else v8 = "Off"; std::string::append(__s, v8); } if ( SHIBYTE(__s->__r_.__value_.__r.__words[2]) < 0 ) __s = (std::string *)__s->__r_.__value_.__r.__words[0]; sub_100009900(v15, (char *)__s); sub_100009900(__p, "chatFont.fnt"); v9 = TextAlertPopup::create(v15, 100, __p, a5, 0.6); if ( v14 < 0 ) operator delete(__p[0]); if ( v16 < 0 ) operator delete(v15[0]); sub_10037E130(v9, 65280); sub_1000262BC(&v12, 0.0, 1.0); sub_1000262BC(&v11, 20.0, -20.0); sub_10037E16C(v9, &v12, &v11); return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v9, 100); }
GD Web Decomp Icon

GD Web Decomp

Raw Source