//
// AccountLoginLayer::createTextBackground from 0x58629c to 0x58631c (128 bytes)
//
// 2 xrefs:
// > AccountLoginLayer::init @ 0x58768e
// > AccountLoginLayer::init @ 0x5877d6
//
// 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::createTextBackground(int a1, int a2, int a3, int a4)
{
int v7; // r4
_BYTE v9[16]; // [sp+Ch] [bp-28h] BYREF
_BYTE v10[16]; // [sp+1Ch] [bp-18h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, (const cocos2d::CCRect *)v9);
v7 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v10);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 160))(v7, a4);
(*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v7, 1);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 456))(v7, 100);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 92))(v7, a2);
return v7;
}