//
// AccountLoginLayer::createTextBackground from 0x990000 to 0x9900f4 (244 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x991a68
// > AccountLoginLayer::init @ 0x991bd0
// > ??> @ 0x101e18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:58 +0000
//
__int64 __fastcall AccountLoginLayer::createTextBackground(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v6; // x19
_BYTE v9[16]; // [xsp+58h] [xbp+58h] BYREF
_BYTE v10[16]; // [xsp+68h] [xbp+68h] 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);
v6 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v10);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 320LL))(v6, a4);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v6, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 912LL))(v6, 100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, a2);
return v6;
}