//
// AccountLoginLayer::createTextLabel from 0x586328 to 0x5863cc (164 bytes)
//
// 2 xrefs:
// > AccountLoginLayer::init @ 0x5876ae
// > AccountLoginLayer::init @ 0x5877f2
//
// 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:52:58 +0000
//
int __fastcall AccountLoginLayer::createTextLabel(int a1, int a2, cocos2d::CCLabelBMFont *a3, float *a4)
{
int v7; // r4
void (__fastcall *v8)(int, _BYTE *); // r9
void (__fastcall *v9)(int, _BYTE *); // r9
_BYTE v11[8]; // [sp+4h] [bp-14h] BYREF
_BYTE v12[8]; // [sp+Ch] [bp-Ch] BYREF
v7 = cocos2d::CCLabelBMFont::create(a3, "bigFont.fnt", (const char *)a3);
v8 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, 0.0);
v8(v7, v12);
v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -(float)(*a4 * 0.5), (float)(a4[1] * 0.5) + 1.0);
cocos2d::CCPoint::operator+(v12, a2, v11);
v9(v7, v12);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 80))(v7, 1053609165);
(*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v7);
return v7;
}