// // InfoAlertButton::activate from 0x100575dd0 to 0x100575f0d (317 bytes) // // 1 xrefs: // > @ 0x1009657e0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall InfoAlertButton::activate(InfoAlertButton *a1) { double v1; // xmm0_8 __int64 longStorage; // rbx std::array *p_shortStorage; // r15 size_t v4; // rax size_t v5; // r12 char *v6; // r13 char *v7; // rbx int v8; // [rsp+8h] [rbp-48h] __int128 __dst; // [rsp+10h] [rbp-40h] BYREF void *__p; // [rsp+20h] [rbp-30h] if ( !a1->m_bEnabled ) return; if ( (a1->m_title.m_data.m_short.sizex2 & 1) != 0 ) { longStorage = (__int64)a1->m_title.m_data.m_long.longStorage; if ( (a1->m_description.m_data.m_short.sizex2 & 1) != 0 ) goto LABEL_4; } else { LODWORD(longStorage) = (_DWORD)a1 + 505; if ( (a1->m_description.m_data.m_short.sizex2 & 1) != 0 ) { LABEL_4: p_shortStorage = (std::array *)a1->m_description.m_data.m_long.longStorage; goto LABEL_7; } } p_shortStorage = &a1->m_description.m_data.m_short.shortStorage; LABEL_7: v4 = strlen(p_shortStorage->__elems_); if ( v4 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(v1); v5 = v4; if ( v4 >= 0x17 ) { v8 = longStorage; longStorage = 26; if ( (v4 | 7) != 0x17 ) longStorage = (v4 | 7) + 1; v6 = (char *)operator new(longStorage); __p = v6; *(_QWORD *)&__dst = longStorage + 1; LODWORD(longStorage) = v8; *((_QWORD *)&__dst + 1) = v5; } else { LOBYTE(__dst) = 2 * v4; v6 = (char *)&__dst + 1; if ( !v4 ) goto LABEL_15; } memmove(v6, p_shortStorage, v5); LABEL_15: v6[v5] = 0; v7 = FLAlertLayer::create(0, longStorage, &__dst, (int)"OK", 0, a1->m_scroll, 430.0, 0.0, a1->m_textScale); if ( (__dst & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 1288LL))(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source