// // AccountLoginLayer::createTextBackground from 0x8509f0 to 0x850ae4 (244 bytes) // // 3 xrefs: // > AccountLoginLayer::init @ 0x851118 // > AccountLoginLayer::init @ 0x851230 // > @ 0xc62b8 // // 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) { const cocos2d::CCSize *v4; // x3 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; 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, (const cocos2d::CCPoint *)a3); return v7; }