// // AccountLoginLayer::createTextBackground from 0x100083bc8 to 0x100083c8c (196 bytes) // // 2 xrefs: // > AccountLoginLayer::init @ 0x1000834a4 // > AccountLoginLayer::init @ 0x1000835dc // // 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; // x3 __int64 v5; // x19 double v8; // d0 cocos2d::extension::CCScale9Sprite *v9; // x22 float v11; // s1 float v12; // s2 float v13; // s3 __int64 v14; // [xsp+0h] [xbp-40h] BYREF float v15[4]; // [xsp+10h] [xbp-30h] BYREF cocos2d::CCRect v16; // 0:kr00_16.16 v5 = v4; sub_100022990(v15, 0.0, 0.0, 40.0, 40.0); v8 = sub_100022B98(&v14, (__int64)v15); v16.origin.x = *(float *)&v8; v16.origin.y = v11; v16.size.width = v12; v16.size.height = v13; v9 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v16); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v9->setContentSize)(v9, v5); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)( a1->m_mainLayer, v9, 1); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v9->setOpacity)(v9, 100); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, const char *))v9->setPosition)(v9, a3); return v9; }