//
// AccountRegisterLayer::createTextBackground from 0x1400799d0 to 0x140079a90 (192 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x140078e1a
// > AccountRegisterLayer::init @ 0x140079069
// > AccountRegisterLayer::init @ 0x1400792a8
// > AccountRegisterLayer::init @ 0x140079515
// > AccountRegisterLayer::init @ 0x140079734
// > ??> @ 0x1406c66d8
//
// 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 *AccountRegisterLayer::createTextBackground(
AccountRegisterLayer *a1,
cocos2d::CCPoint a2,
cocos2d::CCSize a3)
{
struct cocos2d::CCRect *v6; // rax
struct cocos2d::extension::CCScale9Sprite *v7; // rbx
__int64 v8; // rdx
cocos2d::CCRect v10; // [rsp+30h] [rbp-28h] BYREF
cocos2d::CCRect v11; // [rsp+40h] [rbp-18h] BYREF
cocos2d::CCRect::CCRect(&v10, 0.0, 0.0, 40.0, 40.0);
v6 = (struct cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v11, &v10);
v7 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v6);
((void (__fastcall *)(struct cocos2d::extension::CCScale9Sprite *, cocos2d::CCSize))v7->setContentSize)(v7, a3);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 1);
LOBYTE(v8) = 100;
v7->setOpacity(&v7->cocos2d::CCRGBAProtocol, v8);
((void (__fastcall *)(struct cocos2d::extension::CCScale9Sprite *, cocos2d::CCPoint))v7->setPosition_0)(v7, a2);
return v7;
}