//
// InfoAlertButton::activate from 0x5e83c8 to 0x5e8476 (174 bytes)
//
// 0 xrefs:
//
// 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:54:21 +0000
//
int __fastcall InfoAlertButton::activate(int this)
{
const char *v1; // r8
cocos2d::CCLabelBMFont *v2; // r9
int v3; // r4
char v4; // r3
bool v5; // nf
int v6; // r3
int v7; // r3
size_t v8; // r0
int *v9; // r4
int v10[3]; // [sp+18h] [bp-14h] BYREF
v3 = this;
if ( *(_BYTE *)(this + 279) )
{
v4 = *(_BYTE *)(this + 392);
v10[0] = 0;
v5 = (v4 & 1) != 0;
v6 = *(unsigned __int8 *)(this + 404);
if ( !v5 )
v2 = (cocos2d::CCLabelBMFont *)(this + 393);
v10[1] = 0;
if ( v5 )
v2 = *(cocos2d::CCLabelBMFont **)(this + 400);
v7 = v6 << 31;
if ( v7 >= 0 )
v1 = (const char *)(this + 405);
v10[2] = 0;
if ( v7 < 0 )
v1 = *(const char **)(this + 412);
v8 = strlen(v1);
std::string::__init(v10, v1, v8);
v9 = FLAlertLayer::create(
0,
v2,
(int)v10,
(ButtonSprite *)"OK",
nullptr,
430.0,
*(_BYTE *)(v3 + 420),
0,
*(float *)(v3 + 416));
std::string::~string((int)v10);
return (*(int (__fastcall **)(int *))(*v9 + 656))(v9);
}
return this;
}