//
// sub_7624F4 from 0x7624f4 to 0x762954 (1120 bytes)
//
// 6 xrefs:
// > AccountBanPopup::init @ 0x764a2e
// > AccountBanPopup::init @ 0x764a8c
// > AccountBanPopup::init @ 0x764aec
// > AccountBanPopup::init @ 0x764b4e
// > AccountBanPopup::init @ 0x764bae
// > AccountBanPopup::init @ 0x764c10
//
// 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:59:05 +0000
//
int __fastcall sub_7624F4(
int a1,
int a2,
unsigned int a3,
int a4,
char a5,
cocos2d::CCLabelBMFont *a6,
int a7,
int a8,
int a9,
int a10,
char a11,
ButtonSprite *a12,
cocos2d::CCPoint *a13)
{
int PageContainer; // r0
float v17; // s17
float v18; // s16
cocos2d::CCArray *v19; // r6
int v20; // r10
cocos2d::CCObject *v21; // r11
const char *v22; // r2
cocos2d::CCObject *v23; // r10
void (__fastcall *v24)(cocos2d::CCObject *, __int16 *); // r11
void (__fastcall *v25)(cocos2d::CCObject *, __int16 *); // r11
const char *v26; // r2
cocos2d::CCObject *v27; // r11
void (__fastcall *v28)(cocos2d::CCObject *, __int16 *); // r3
float v29; // s17
float *v30; // r8
int v31; // r3
void (__fastcall *v32)(float *, __int16 *); // r9
ButtonSprite *v33; // r7
cocos2d::CCObject *v34; // r8
float *v35; // r0
float v36; // s16
float v37; // s19
ButtonSprite *v38; // r10
cocos2d::CCObject *v39; // r8
float *v40; // r0
void (__fastcall *v41)(cocos2d::CCObject *, __int16 *); // r10
const cocos2d::CCPoint *v42; // r11
int result; // r0
float v44; // [sp+10h] [bp-24h]
float v45; // [sp+10h] [bp-24h]
cocos2d::CCLabelBMFont *v46; // [sp+14h] [bp-20h]
cocos2d::CCLabelBMFont *v47; // [sp+14h] [bp-20h]
cocos2d::CCLabelBMFont *v48; // [sp+14h] [bp-20h]
cocos2d::CCLabelBMFont *v49; // [sp+14h] [bp-20h]
ButtonSprite *v50; // [sp+18h] [bp-1Ch]
cocos2d::CCPoint *v51; // [sp+1Ch] [bp-18h]
cocos2d::CCPoint *v52; // [sp+1Ch] [bp-18h]
void (__fastcall *v53)(cocos2d::CCObject *, __int16 *); // [sp+20h] [bp-14h]
float v54; // [sp+24h] [bp-10h]
float v55[2]; // [sp+2Ch] [bp-8h] BYREF
__int16 v56; // [sp+34h] [bp+0h] BYREF
char v57; // [sp+36h] [bp+2h]
v46 = a6;
v50 = a12;
v51 = a13;
PageContainer = SetupTriggerPopup::getPageContainer(*(cocos2d::CCArray ***)a1, a3);
v17 = **(float **)(a1 + 8);
v54 = **(float **)(a1 + 16);
v18 = **(float **)(a1 + 4) - (float)((float)a4 * (float)(v17 + **(float **)(a1 + 12)));
v19 = (cocos2d::CCArray *)PageContainer;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, **(float **)(a1 + 20), v18);
v20 = *(_DWORD *)(*(_DWORD *)a1 + 460);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v56, 0.0, 0.0, 80.0, 80.0);
v21 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("GJ_square05.png", &v56);
v53 = *(void (__fastcall **)(cocos2d::CCObject *, __int16 *))(*(_DWORD *)v21 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v56, v54, v17);
v53(v21, &v56);
(*(void (__fastcall **)(cocos2d::CCObject *, float *))(*(_DWORD *)v21 + 92))(v21, v55);
(*(void (__fastcall **)(int, cocos2d::CCObject *, int))(*(_DWORD *)v20 + 232))(v20, v21, -1);
cocos2d::CCArray::addObject(v19, v21);
v23 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(v46, "bigFont.fnt", v22);
v24 = *(void (__fastcall **)(cocos2d::CCObject *, __int16 *))(*(_DWORD *)v23 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, 0.0, 0.5);
v24(v23, &v56);
(*(void (__fastcall **)(cocos2d::CCObject *, char *))(*(_DWORD *)v23 + 536))(v23, &a5);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v23 + 80))(v23, 1055286886);
v25 = *(void (__fastcall **)(cocos2d::CCObject *, __int16 *))(*(_DWORD *)v23 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v56,
(float)(**(float **)(a1 + 20) - (float)(**(float **)(a1 + 16) * 0.5)) + 10.0,
v18);
v25(v23, &v56);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**(_DWORD **)(*(_DWORD *)a1 + 460) + 232))(
*(_DWORD *)(*(_DWORD *)a1 + 460),
v23,
1);
cocos2d::CCArray::addObject(v19, v23);
v27 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&unk_B6B226, "chatFont.fnt", v26);
v47 = *(cocos2d::CCLabelBMFont **)(*(_DWORD *)v27 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, 0.0, 0.5);
((void (__fastcall *)(cocos2d::CCObject *, __int16 *))v47)(v27, &v56);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v27 + 80))(v27, 1054280253);
v28 = *(void (__fastcall **)(cocos2d::CCObject *, __int16 *))(*(_DWORD *)v27 + 536);
v56 = 30975;
v57 = 120;
v28(v27, &v56);
v48 = *(cocos2d::CCLabelBMFont **)(*(_DWORD *)v27 + 92);
v29 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v23 + 112))(v23));
(*(void (__fastcall **)(float *, cocos2d::CCObject *))(*(_DWORD *)v23 + 168))(v55, v23);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, (float)(v29 + v55[0]) + 8.0, v18);
((void (__fastcall *)(cocos2d::CCObject *, __int16 *))v48)(v27, &v56);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**(_DWORD **)(*(_DWORD *)a1 + 460) + 232))(
*(_DWORD *)(*(_DWORD *)a1 + 460),
v27,
1);
cocos2d::CCArray::addObject(v19, v27);
*(_DWORD *)(*(_DWORD *)a1 + 4 * a2 + 788) = v27;
if ( a11 )
{
v30 = (float *)Dropdown::create(
*(_DWORD *)a1,
*(_DWORD *)(*(_DWORD *)a1 + 444),
*(_DWORD *)(a1 + 24),
4,
72.0,
*(_DWORD *)a1 + 720,
0);
v31 = *(_DWORD *)v30;
v30[91] = (float)(v30[90] + v30[90]) + (float)(v30[89] * 7.0);
v32 = *(void (__fastcall **)(float *, __int16 *))(v31 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, **(float **)(a1 + 28), v18);
v32(v30, &v56);
(*(void (__fastcall **)(_DWORD, float *, int))(**(_DWORD **)(*(_DWORD *)a1 + 460) + 232))(
*(_DWORD *)(*(_DWORD *)a1 + 460),
v30,
2);
cocos2d::CCArray::addObject(v19, (cocos2d::CCObject *)v30);
*(_DWORD *)(*(_DWORD *)a1 + 4 * a2 + 772) = v30;
}
v33 = ButtonSprite::create(
v51,
(const char *)&word_30,
0,
0.5,
1,
"bigFont.fnt",
"GJ_button_01.png",
COERCE_CONST_CHAR_(24.0),
v44);
v34 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create((int)v33, 0, *(_DWORD *)a1, a9, a10);
CCMenuItemSpriteExtra::setSizeMult((int)v34, 1.1);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(*(_DWORD *)a1 + 444) + 228))(
*(_DWORD *)(*(_DWORD *)a1 + 444),
v34);
v35 = (float *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)v33 + 164))(v33);
v49 = *(cocos2d::CCLabelBMFont **)(*(_DWORD *)v34 + 92);
v36 = v18 + 1.0;
v52 = *(cocos2d::CCPoint **)(*(_DWORD *)a1 + 444);
v37 = *v35;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, **(float **)(a1 + 32) - (float)(*v35 * 0.5), v36);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v56, v52);
((void (__fastcall *)(cocos2d::CCObject *, __int16 *))v49)(v34, &v56);
cocos2d::CCArray::addObject(v19, v34);
*(_DWORD *)(*(_DWORD *)a1 + 4 * a2 + 844) = v34;
v38 = ButtonSprite::create(
v50,
(const char *)&word_30,
0,
0.5,
1,
"bigFont.fnt",
"GJ_button_06.png",
COERCE_CONST_CHAR_(24.0),
v45);
v39 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create((int)v38, 0, *(_DWORD *)a1, a7, a8);
CCMenuItemSpriteExtra::setSizeMult((int)v39, 1.1);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(*(_DWORD *)a1 + 444) + 228))(
*(_DWORD *)(*(_DWORD *)a1 + 444),
v39);
v40 = (float *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)v38 + 164))(v38);
v41 = *(void (__fastcall **)(cocos2d::CCObject *, __int16 *))(*(_DWORD *)v39 + 92);
v42 = *(const cocos2d::CCPoint **)(*(_DWORD *)a1 + 444);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v55,
(float)((float)(**(float **)(a1 + 32) - v37) - 8.0) - (float)(*v40 * 0.5),
v36);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v56, v42);
v41(v39, &v56);
result = cocos2d::CCArray::addObject(v19, v39);
*(_DWORD *)(*(_DWORD *)a1 + 4 * (a2 + 204)) = v39;
return result;
}