//
// AccountRegisterLayer::createTextBackground from 0x84dfb4 to 0x84e0a8 (244 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x84e640
// > AccountRegisterLayer::init @ 0x84e7a0
// > AccountRegisterLayer::init @ 0x84e8f8
// > AccountRegisterLayer::init @ 0x84ea5c
// > AccountRegisterLayer::init @ 0x84ebb0
// > ??> @ 0xc7cb0
//
// 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)
{
const cocos2d::CCPoint *v3; // x1
const cocos2d::CCSize *v4; // x2
const cocos2d::CCPoint *v6; // x22
cocos2d::extension::CCScale9Sprite *v7; // x19
const cocos2d::CCSize *v9; // [xsp+48h] [xbp+48h]
cocos2d::CCRect v10; // [xsp+58h] [xbp+58h] BYREF
cocos2d::CCRect v11; // [xsp+68h] [xbp+68h] BYREF
cocos2d::CCRect v12; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
v9 = v4;
v6 = v3;
cocos2d::CCRect::CCRect(&v10, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect(&v11, &v10);
v7 = (cocos2d::extension::CCScale9Sprite *)cocos2d::extension::CCScale9Sprite::create(
(cocos2d::extension::CCScale9Sprite *)"square02_small.png",
(const char *)&v11,
v12);
v7->setContentSize(v7, v9);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 1);
v7->setOpacity(v7, 100);
v7->setPosition(v7, v6);
return v7;
}