// // AccountRegisterLayer::createTextInput from 0x4682cc to 0x468374 (168 bytes) // // 5 xrefs: // > AccountRegisterLayer::init @ 0x4685fe // > AccountRegisterLayer::init @ 0x4686c4 // > AccountRegisterLayer::init @ 0x4687f8 // > AccountRegisterLayer::init @ 0x4688d0 // > AccountRegisterLayer::init @ 0x468996 // // 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 // CCTextInputNode *__fastcall AccountRegisterLayer::createTextInput( TextInputDelegate *a1, const cocos2d::CCPoint *a2, float *a3, const char **a4, int a5) { TextInputDelegate *v6; // r5 CCTextInputNode *v7; // r4 CCTextInputNode_vtbl *v8; // r3 cocos2d::ccColor3B v12; // [sp+Ch] [bp-4h] v6 = a1 + 124; v7 = CCTextInputNode::create(*a3 - 20.0, a3[1] + 10.0, *a4, "Thonburi"); (*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, int, _DWORD, int *, const char *, float *, const char **))v6[-10].textChanged + 56))( v6[-10].__vftable, v7, 20, *((_DWORD *)v6[-10].textChanged + 56), &dword_18, "bigFont.fnt", a3, a4); CCTextInputNode::setMaxLabelScale(v7, 0.8); v8 = v7->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v7->m_delegate = v6; v8->setTag(v7, a5); v7->setPosition(v7, a2); v7->m_textField->setVisible(v7->m_textField, 0); *(_WORD *)&v12.r = -21896; v12.b = -16; CCTextInputNode::setLabelPlaceholderColor(v7, v12); CCTextInputNode::setLabelPlaceholderScale(v7, 0.5); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source