//
// AccountRegisterLayer::createTextBackground from 0x14008da90 to 0x14008db58 (200 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x14008d061
// > AccountRegisterLayer::init @ 0x14008d252
// > AccountRegisterLayer::init @ 0x14008d4bd
// > AccountRegisterLayer::init @ 0x14008d66b
// > AccountRegisterLayer::init @ 0x14008d833
// > ??> @ 0x14091295c
//
// This function is hookable on this platform (idp: pc, 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 11:25:59 +0000
//
_QWORD *__fastcall AccountRegisterLayer::createTextBackground(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // rax
_QWORD *v7; // rsi
__int64 v8; // rdx
void (__fastcall *v9)(_QWORD *, __int64); // rax
_BYTE v11[16]; // [rsp+30h] [rbp-28h] BYREF
_BYTE v12[24]; // [rsp+40h] [rbp-18h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, 0.0, 0.0, 40.0, 40.0);
v6 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, (const struct cocos2d::CCRect *)v11);
v7 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v6);
(*(void (__fastcall **)(_QWORD *, __int64))(*v7 + 312LL))(v7, a3);
(*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v7, 1);
v8 = v7[40];
v9 = *(void (__fastcall **)(_QWORD *, __int64))(v8 + 40);
LOBYTE(v8) = 100;
v9(v7 + 40, v8);
(*(void (__fastcall **)(_QWORD *, __int64))(*v7 + 184LL))(v7, a2);
return v7;
}