//
// ConfigureValuePopup::addInfoAlertButton from 0x6029fc to 0x602ad6 (218 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::onGroupIDOptions @ 0x63ad62
//
// 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:42 +0000
//
int __fastcall ConfigureValuePopup::addInfoAlertButton(cocos2d::CCDirector *a1, int a2, int a3)
{
_DWORD *v6; // r6
const cocos2d::CCPoint *v7; // r8
int (__fastcall *v8)(_DWORD *, _BYTE *); // r9
float v10[2]; // [sp+4h] [bp-38h] BYREF
_BYTE v11[8]; // [sp+Ch] [bp-30h] BYREF
_BYTE v12[8]; // [sp+14h] [bp-28h] BYREF
int v13[3]; // [sp+1Ch] [bp-20h] BYREF
int v14[3]; // [sp+28h] [bp-14h] BYREF
cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10);
std::string::basic_string(v13, a2);
std::string::basic_string(v14, a3);
v6 = (_DWORD *)InfoAlertButton::create((char *)v13, (int)v14, 1061997773);
std::string::~string((int)v14);
std::string::~string((int)v13);
v6[104] = 1063675494;
(*(void (__fastcall **)(_DWORD *, _DWORD *))(**((_DWORD **)a1 + 111) + 228))(*((_DWORD **)a1 + 111), v6);
v7 = *((const cocos2d::CCPoint **)a1 + 111);
v8 = *(int (__fastcall **)(_DWORD *, _BYTE *))(*v6 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v11,
(float)((float)(v10[0] * 0.5) + 130.0) - 17.0,
(float)((float)(v10[1] * 0.5) + 100.0) - 17.0);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, v7);
return v8(v6, v12);
}