//
// AccountLoginLayer::createTextBackground from 0x100499ee0 to 0x100499f93 (179 bytes)
//
// 0 xrefs:
//
// 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 *__fastcall AccountLoginLayer::createTextBackground(
AccountLoginLayer *a1,
cocos2d::CCPoint a2,
const char *a3,
cocos2d::CCSize a4)
{
__int64 v4; // rcx
__int64 v5; // r15
cocos2d::extension::CCScale9Sprite *v6; // r12
unsigned __int64 v8[2]; // [rsp+8h] [rbp-48h] BYREF
__m128 v9[3]; // [rsp+18h] [rbp-38h] BYREF
cocos2d::CCRect v10; // 0:xmm0_8.8,8:xmm1_8.8
v5 = v4;
v10.size = 0;
sub_10028CC00((__int64)v8, 0.0, 0.0, (__m128)0x42200000u, (__m128)0x42200000u);
*(double *)&v10.origin = sub_10028D180(v9, v8);
v6 = cocos2d::extension::CCScale9Sprite::create_2("square02_small.png", v10);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v6->setContentSize)(v6, v5);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v6,
1);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v6->setOpacity)(v6, 100);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, const char *))v6->setPosition)(v6, a3);
return v6;
}