// // CCTextInputNode::init from 0x6c25b4 to 0x6c282c (632 bytes) // // 2 xrefs: // > CCTextInputNode::create @ 0x6c29cc // > @ 0xb5528 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:51:19 +0000 // __int64 __fastcall CCTextInputNode::init( CCTextInputNode *this, float a2, float a3, char *a4, const char *a5, int a6, char *a7) { unsigned __int8 v13; // w0 unsigned int v14; // w21 const char *v16; // x2 __int64 v17; // x0 __int64 v18; // x2 void (__fastcall *v19)(CCTextInputNode *, _BYTE *); // x24 const char *v20; // x2 __int64 v21; // x0 __int64 v22; // x2 size_t v23; // x0 __int64 v24; // x0 __int64 v25; // x3 _BYTE v27[8]; // [xsp+88h] [xbp+88h] BYREF __int64 v28[2]; // [xsp+90h] [xbp+90h] BYREF void *v29; // [xsp+A0h] [xbp+A0h] v13 = cocos2d::CCLayer::init(this); v14 = v13; if ( v13 ) { (*(void (__fastcall **)(CCTextInputNode *, __int64))(*(_QWORD *)this + 1000LL))(this, 1); (*(void (__fastcall **)(CCTextInputNode *, __int64))(*(_QWORD *)this + 1104LL))(this, 1); *((_BYTE *)this + 608) = 0; std::string::assign((__int64 *)this + 54, a4); v17 = cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder((cocos2d::CCTextFieldTTF *)a4, a5, v16, (float)a6); v18 = *(_QWORD *)this; *((_QWORD *)this + 72) = v17; (*(void (__fastcall **)(CCTextInputNode *))(v18 + 456))(this); *(_QWORD *)(*((_QWORD *)this + 72) + 704LL) = (char *)this + 416; v19 = *(void (__fastcall **)(CCTextInputNode *, _BYTE *))(*(_QWORD *)this + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v27, a2, a3); v19(this, v27); *((float *)this + 137) = 1.0; *((_BYTE *)this + 556) = -1; *((_BYTE *)this + 557) = -1; *((_BYTE *)this + 558) = -1; *((_BYTE *)this + 559) = -1; *((_BYTE *)this + 560) = -1; *((_BYTE *)this + 561) = -1; *((float *)this + 136) = a2; *((_DWORD *)this + 138) = 0; std::string::assign((__int64 *)this + 59, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"); if ( a7 ) { v21 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)a4, a7, v20); v22 = *(_QWORD *)this; *((_QWORD *)this + 75) = v21; (*(void (__fastcall **)(CCTextInputNode *))(v22 + 456))(this); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 72) + 344LL))(*((_QWORD *)this + 72), 0); v28[0] = 0; v28[1] = 0; v29 = nullptr; v23 = strlen(a7); std::string::__init(v28, a7, v23); CCTextInputNode::updateDefaultFontValues((__int64)this, (__int64)v28); if ( (v28[0] & 1) != 0 ) operator delete(v29); } v24 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"|", "chatFont.fnt", v20); v25 = *(_QWORD *)this; *((_QWORD *)this + 71) = v24; (*(void (__fastcall **)(CCTextInputNode *))(v25 + 464))(this); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 71) + 1024LL))(*((_QWORD *)this + 71), 4294967190LL); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 71) + 344LL))(*((_QWORD *)this + 71), 0); } return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source