//
// AccountLoginLayer::createTextBackground from 0x1400914b0 to 0x140091578 (200 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x140090ef9
// > AccountLoginLayer::init @ 0x1400910b8
// > ??> @ 0x140912a58
//
// 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:26:01 +0000
//
_QWORD *__fastcall AccountLoginLayer::createTextBackground(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v7; // rax
_QWORD *v8; // rsi
__int64 v9; // rdx
void (__fastcall *v10)(_QWORD *, __int64); // rax
_BYTE v12[16]; // [rsp+30h] [rbp-28h] BYREF
_BYTE v13[24]; // [rsp+40h] [rbp-18h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, 0.0, 0.0, 40.0, 40.0);
v7 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v13, (const struct cocos2d::CCRect *)v12);
v8 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v7);
(*(void (__fastcall **)(_QWORD *, __int64))(*v8 + 312LL))(v8, a4);
(*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v8, 1);
v9 = v8[40];
v10 = *(void (__fastcall **)(_QWORD *, __int64))(v9 + 40);
LOBYTE(v9) = 100;
v10(v8 + 40, v9);
(*(void (__fastcall **)(_QWORD *, __int64))(*v8 + 184LL))(v8, a2);
return v8;
}