// // AccountLoginLayer::createTextBackground from 0x469388 to 0x469408 (128 bytes) // // 2 xrefs: // > AccountLoginLayer::init @ 0x4697f6 // > AccountLoginLayer::init @ 0x4698ca // // 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) { float x; // r7 cocos2d::extension::CCScale9Sprite *v7; // r4 float v9; // r2 float v10; // r3 cocos2d::CCRect v11; // [sp+Ch] [bp-28h] BYREF cocos2d::CCRect v12; // [sp+1Ch] [bp-18h] BYREF cocos2d::CCSize v13; // 0:^0.8 cocos2d::CCRect v14; // 0:kr00_16.16 x = a2.x; cocos2d::CCRect::CCRect(&v11, 0.0, 0.0, 40.0, 40.0); cocos2d::CCRect::CCRect(&v12, &v11); v14.origin.x = v9; v14.origin.y = v10; v14.size = v13; v7 = (cocos2d::extension::CCScale9Sprite *)cocos2d::extension::CCScale9Sprite::create( (cocos2d::extension::CCScale9Sprite *)"square02_small.png", (const char *)&v12, v14); v7->setContentSize(v7, (const cocos2d::CCSize *)a3); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 1); v7->setOpacity(v7, 100); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float))v7->setPosition)(v7, COERCE_FLOAT(LODWORD(x))); return v7; }