//
// AccountLoginLayer::createTextBackground from 0x14007c500 to 0x14007c5c0 (192 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x14007bd3a
// > AccountLoginLayer::init @ 0x14007bf3a
// > ??> @ 0x1406c67d4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::extension::CCScale9Sprite *AccountLoginLayer::createTextBackground(
AccountLoginLayer *a1,
cocos2d::CCPoint a2,
const char *a3,
cocos2d::CCSize a4)
{
struct cocos2d::CCRect *v7; // rax
struct cocos2d::extension::CCScale9Sprite *v8; // rbx
__int64 v9; // rdx
cocos2d::CCRect v11; // [rsp+30h] [rbp-28h] BYREF
cocos2d::CCRect v12; // [rsp+40h] [rbp-18h] BYREF
cocos2d::CCRect::CCRect(&v11, 0.0, 0.0, 40.0, 40.0);
v7 = (struct cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v12, &v11);
v8 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v7);
((void (__fastcall *)(struct cocos2d::extension::CCScale9Sprite *, cocos2d::CCSize))v8->setContentSize)(v8, a4);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v8, 1);
LOBYTE(v9) = 100;
v8->setOpacity(&v8->cocos2d::CCRGBAProtocol, v9);
((void (__fastcall *)(struct cocos2d::extension::CCScale9Sprite *, cocos2d::CCPoint))v8->setPosition_0)(v8, a2);
return v8;
}