// // CCTextInputNode::addTextArea from 0x14004f5b0 to 0x14004f69c (236 bytes) // // 7 xrefs: // > EditLevelLayer::init @ 0x1400d5dfc // > GJWriteMessagePopup::init @ 0x140299b18 // > GJWriteMessagePopup::init @ 0x140299ecc // > ShareCommentLayer::init @ 0x14048df21 // > @ 0x140663d18 // > @ 0x140663d28 // > @ 0x1406c4c98 // // 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 // void CCTextInputNode::addTextArea(CCTextInputNode *a1, TextArea *a2) { CCTextInputNode_vtbl *v3; // rax TextArea_vtbl *v4; // rbx const cocos2d::CCPoint *v5; // rax const char *v6; // rax size_t v7; // r8 __int64 v8; // rax __int128 v9; // [rsp+20h] [rbp-28h] BYREF __int64 v10; // [rsp+30h] [rbp-18h] __int64 v11; // [rsp+38h] [rbp-10h] cocos2d::CCPoint v12; // [rsp+50h] [rbp+8h] BYREF if ( !a1->m_textArea ) { v3 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_textArea = a2; ((void (*)(void))v3->addChild_1)(); v4 = a1->m_textArea->__vftable; cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0); v4->setPosition_0(a1->m_textArea, v5); a1->m_textField->setVisible(a1->m_textField, 0); v6 = a1->m_textField->getString(&a1->m_textField->cocos2d::CCLabelProtocol); v10 = 0; v9 = 0; v11 = 0; v7 = -1; do ++v7; while ( v6[v7] ); sub_14003A930(&v9, v6, v7); CCTextInputNode::updateLabel(a1, &v9); v8 = sub_14003BDB0((__int64)&v9, (__int64)&a1->m_textArea->m_fontFile); CCTextInputNode::updateDefaultFontValues(a1, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source