//
// AccountRegisterLayer::createTextBackground from 0x585b7c to 0x585bfc (128 bytes)
//
// 5 xrefs:
// > AccountRegisterLayer::init @ 0x586cf6
// > AccountRegisterLayer::init @ 0x586dd0
// > AccountRegisterLayer::init @ 0x586fc4
// > AccountRegisterLayer::init @ 0x5870ba
// > AccountRegisterLayer::init @ 0x58719c
//
// 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 AccountRegisterLayer::createTextBackground(int a1, int a2, int a3)
{
int v6; // r4
_BYTE v8[16]; // [sp+Ch] [bp-28h] BYREF
_BYTE v9[16]; // [sp+1Ch] [bp-18h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, (const cocos2d::CCRect *)v8);
v6 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v9);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 160))(v6, a3);
(*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v6, 1);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 456))(v6, 100);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 92))(v6, a2);
return v6;
}