//
// InfoAlertButton::activate from 0x1403cd830 to 0x1403cd906 (214 bytes)
//
// 2 xrefs:
// > ??> @ 0x140784ea8
// > ??> @ 0x140924638
//
// 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:31:33 +0000
//
void __fastcall InfoAlertButton::activate(__int64 a1)
{
_QWORD *v2; // rdx
size_t v3; // r8
_QWORD *v4; // rdx
cocos2d::CCObject *v5; // rax
__int128 v6; // [rsp+50h] [rbp-28h] BYREF
__int64 v7; // [rsp+60h] [rbp-18h]
__int64 v8; // [rsp+68h] [rbp-10h]
if ( *(_BYTE *)(a1 + 345) )
{
v2 = (_QWORD *)(a1 + 552);
if ( *(_QWORD *)(a1 + 576) > 0xFu )
v2 = (_QWORD *)*v2;
v7 = 0;
v6 = 0;
v8 = 0;
v3 = -1;
do
++v3;
while ( *((_BYTE *)v2 + v3) );
sub_14003D230(&v6, v2, v3);
v4 = (_QWORD *)(a1 + 520);
if ( *(_QWORD *)(a1 + 544) > 0xFu )
v4 = (_QWORD *)*v4;
v5 = FLAlertLayer::create(
0,
(int)v4,
(__int64)&v6,
(__int64)"OK",
0,
1138163712,
*(_BYTE *)(a1 + 588),
0,
*(_DWORD *)(a1 + 584));
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL))(v5);
}
}