// // CCTextInputNode::init from 0x3e29c4 to 0x3e2b44 (384 bytes) // // 1 xrefs: // > CCTextInputNode::create @ 0x3e2cb6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:47:02 +0000 // int __fastcall CCTextInputNode::init( CCTextInputNode *this, float a2, float a3, char *a4, const char *a5, int a6, const char *a7) { int v11; // r8 float v12; // r3 int v13; // r0 int v14; // r2 const char *v15; // r2 int v16; // r0 int v17; // r2 size_t v18; // r0 int v19; // r0 int v20; // r3 void (__fastcall *v22)(CCTextInputNode *, _BYTE *); // [sp+4h] [bp-20h] _BYTE v23[8]; // [sp+8h] [bp-1Ch] BYREF int v24[3]; // [sp+10h] [bp-14h] BYREF v11 = cocos2d::CCLayer::init(this); if ( v11 ) { (*(void (__fastcall **)(CCTextInputNode *, int))(*(_DWORD *)this + 500))(this, 1); (*(void (__fastcall **)(CCTextInputNode *, int))(*(_DWORD *)this + 552))(this, 1); *((_BYTE *)this + 432) = 0; std::string::assign((int *)this + 82, a4); v13 = cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder( (cocos2d::CCTextFieldTTF *)a4, a5, COERCE_CONST_CHAR_((float)a6), v12); v14 = *(_DWORD *)this; *((_DWORD *)this + 104) = v13; (*(void (__fastcall **)(CCTextInputNode *, int))(v14 + 228))(this, v13); *(_DWORD *)(*((_DWORD *)this + 104) + 584) = (char *)this + 320; v22 = *(void (__fastcall **)(CCTextInputNode *, _BYTE *))(*(_DWORD *)this + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v23, a2, a3); v22(this, v23); *((_DWORD *)this + 99) = 1065353216; *((_DWORD *)this + 100) = 0; *((float *)this + 98) = a2; *((_WORD *)this + 202) = -1; *(_WORD *)((char *)this + 407) = -1; *((_BYTE *)this + 406) = -1; *((_BYTE *)this + 409) = -1; std::string::assign((int *)this + 89, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"); if ( a7 ) { v16 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)a4, a7, v15); v17 = *(_DWORD *)this; *((_DWORD *)this + 107) = v16; (*(void (__fastcall **)(CCTextInputNode *, int))(v17 + 228))(this, v16); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 104) + 172))(*((_DWORD *)this + 104), 0); memset(v24, 0, sizeof(v24)); v18 = strlen(a7); std::string::__init(v24, a7, v18); CCTextInputNode::updateDefaultFontValues((int)this, (unsigned __int8 *)v24); std::string::~string((int)v24); } v19 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"|", "chatFont.fnt", v15); v20 = *(_DWORD *)this; *((_DWORD *)this + 103) = v19; (*(void (__fastcall **)(CCTextInputNode *, int, int))(v20 + 232))(this, v19, 10); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 103) + 512))(*((_DWORD *)this + 103), 150); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 103) + 172))(*((_DWORD *)this + 103), 0); } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source