//
// AccountRegisterLayer::createTextLabel from 0x46821c to 0x4682c0 (164 bytes)
//
// 5 xrefs:
// > AccountRegisterLayer::init @ 0x4685c8
// > AccountRegisterLayer::init @ 0x46868e
// > AccountRegisterLayer::init @ 0x4687c2
// > AccountRegisterLayer::init @ 0x46889a
// > AccountRegisterLayer::init @ 0x468960
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCLabelBMFont *__fastcall AccountRegisterLayer::createTextLabel(int a1, int a2, int a3, float *a4)
{
cocos2d::CCLabelBMFont *v7; // r4
void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // r9
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
cocos2d::CCPoint v11; // [sp+4h] [bp-14h] BYREF
cocos2d::CCPoint v12; // [sp+Ch] [bp-Ch] BYREF
v7 = cocos2d::CCLabelBMFont::create();
setAnchorPoint = v7->setAnchorPoint;
cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0);
setAnchorPoint(v7, &v12);
setPosition = v7->setPosition;
cocos2d::CCPoint::CCPoint(&v11, -(float)(*a4 * 0.5), (float)(a4[1] * 0.5) + 1.0);
cocos2d::CCPoint::operator+(&v12, a2, &v11);
setPosition(v7, &v12);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v7->setScale)(v7, 1053609165);
(*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *))(**(_DWORD **)(a1 + 456) + 220))(*(_DWORD *)(a1 + 456), v7);
return v7;
}