//
// InfoAlertButton::activate from 0x1001f8f2c to 0x1001f8fd8 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f4b30
//
// 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 11:00:41 +0000
//
_BYTE *__fastcall InfoAlertButton::activate(_BYTE *result)
{
float *v1; // x20
_QWORD *v2; // x19
char *v3; // x1
__int64 v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( result[339] == 1 )
{
v1 = (float *)result;
v2 = result + 504;
if ( (char)result[527] < 0 )
v2 = (_QWORD *)*v2;
v3 = result + 528;
if ( (char)result[551] < 0 )
v3 = *(char **)v3;
sub_100009900(__p, v3);
v4 = FLAlertLayer::create(0, v2, __p, "OK", 0, *((unsigned __int8 *)v1 + 556), 430.0, 0.0, v1[138]);
if ( v6 < 0 )
operator delete(__p[0]);
return (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
return result;
}