//
// AccountRegisterLayer::createTextBackground from 0x98f610 to 0x98f704 (244 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x990c04
// > AccountRegisterLayer::init @ 0x990d4c
// > AccountRegisterLayer::init @ 0x990f98
// > AccountRegisterLayer::init @ 0x9910f8
// > AccountRegisterLayer::init @ 0x991244
// > ??> @ 0x103dc8
//
// 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 AccountRegisterLayer::createTextBackground(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // x19
_BYTE v8[16]; // [xsp+58h] [xbp+58h] BYREF
_BYTE v9[16]; // [xsp+68h] [xbp+68h] 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);
v5 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v9);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 320LL))(v5, a3);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v5, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 912LL))(v5, 100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, a2);
return v5;
}