//
// SetGroupIDLayer::onGroupIDOptions from 0x63acb8 to 0x63adb4 (252 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:55:24 +0000
//
int __fastcall SetGroupIDLayer::onGroupIDOptions(SetGroupIDLayer *this, cocos2d::CCObject *a2)
{
char *v2; // r7
int v3; // s16
cocos2d::CCDirector *v4; // r7
int v6; // [sp+14h] [bp-1Ch] BYREF
int v7; // [sp+18h] [bp-18h]
int v8; // [sp+1Ch] [bp-14h]
int v9; // [sp+20h] [bp-10h] BYREF
int v10; // [sp+24h] [bp-Ch]
int v11; // [sp+28h] [bp-8h]
v2 = (char *)this + 520;
v3 = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(GameManager::sharedState(this) + 408) + 2084) + 356);
v6 = 0;
v7 = 0;
v8 = 0;
std::string::__init(&v6, "GroupID Offset", 0xEu);
v9 = 0;
v10 = 0;
v11 = 0;
std::string::__init(&v9, &unk_B6B226, 0);
v4 = (cocos2d::CCDirector *)ConfigureValuePopup::create(
(int)v2,
COERCE_INT((float)v3),
0,
1176255488,
(int)&v6,
(int)&v9,
1);
std::string::~string((int)&v9);
std::string::~string((int)&v6);
v6 = 0;
v7 = 0;
v8 = 0;
std::string::__init(&v6, "Help", 4u);
v9 = 0;
v10 = 0;
v11 = 0;
std::string::__init(
&v9,
"This lets you set a Group ID offset that Next Free will take into account and start from. Useful for collaborations.",
0x74u);
ConfigureValuePopup::addInfoAlertButton(v4, (int)&v6, (int)&v9);
std::string::~string((int)&v9);
std::string::~string((int)&v6);
(*(void (__fastcall **)(cocos2d::CCDirector *, int))(*(_DWORD *)v4 + 36))(v4, 26);
return (*(int (__fastcall **)(cocos2d::CCDirector *))(*(_DWORD *)v4 + 656))(v4);
}