// // AccountRegisterLayer::createTextLabel from 0x84e0ac to 0x84e1cc (288 bytes) // // 6 xrefs: // > AccountRegisterLayer::init @ 0x84e680 // > AccountRegisterLayer::init @ 0x84e7e0 // > AccountRegisterLayer::init @ 0x84e938 // > AccountRegisterLayer::init @ 0x84ea9c // > AccountRegisterLayer::init @ 0x84ebf0 // > @ 0x55038 // // 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::CCLabelBMFont *__fastcall AccountRegisterLayer::createTextLabel( __int64 a1, __int64 a2, __int64 a3, cocos2d::CCPoint *a4) { cocos2d::CCLabelBMFont *v6; // x19 void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // x25 float *v8; // x3 cocos2d::CCLabelBMFont_vtbl *v9; // x2 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCPoint *v12; // [xsp+58h] [xbp+58h] cocos2d::CCPoint v13; // [xsp+68h] [xbp+68h] BYREF cocos2d::CCPoint v14; // [xsp+70h] [xbp+70h] BYREF v12 = a4; v6 = cocos2d::CCLabelBMFont::create(); setAnchorPoint = v6->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v14, 0.0, 0.0); setAnchorPoint(v6, &v14); v8 = (float *)v12; v9 = v6->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v12 = &v13; setPosition = v9->setPosition; cocos2d::CCPoint::CCPoint(&v13, (float)-*v8 * 0.5, (float)(v8[1] * 0.5) + 1.0); cocos2d::CCPoint::operator+(&v14, a2, v12); setPosition(v6, &v14); v6->setScale(v6, 0.4); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))( *(_QWORD *)(a1 + 576), v6); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source