// // CCTextInputNode::init from 0x1001fae4c to 0x1001fb028 (476 bytes) // // 1 xrefs: // > CCTextInputNode::create @ 0x1001fadf4 // // 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 11:00:42 +0000 // bool __fastcall CCTextInputNode::init( __int64 a1, const std::string::value_type *a2, __int64 a3, int a4, char *a5, float a6, float a7) { _BOOL8 v14; // x19 __int64 v15; // x0 __int64 v16; // x0 __int64 v17; // x0 void *__p[2]; // [xsp+0h] [xbp-60h] BYREF char v20; // [xsp+17h] [xbp-49h] float v21; // [xsp+18h] [xbp-48h] BYREF v14 = cocos2d::CCLayer::init((_WORD *)a1); if ( v14 ) { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1104LL))(a1, 1); *(_BYTE *)(a1 + 608) = 0; std::string::assign((std::string *)(a1 + 432), a2); v15 = cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder(a2, a3, (float)a4); *(_QWORD *)(a1 + 576) = v15; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v15); *(_QWORD *)(*(_QWORD *)(a1 + 576) + 704LL) = a1 + 416; sub_1000262C4(&v21, a6, a7); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, &v21); *(float *)(a1 + 544) = a6; *(_QWORD *)(a1 + 548) = 1065353216; *(_DWORD *)(a1 + 556) = -1; *(_WORD *)(a1 + 560) = -1; std::string::assign((std::string *)(a1 + 472), " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"); if ( a5 ) { v16 = cocos2d::CCLabelBMFont::create_1(a2, a5); *(_QWORD *)(a1 + 600) = v16; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v16); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 576) + 344LL))(*(_QWORD *)(a1 + 576), 0); sub_100009900(__p, a5); sub_1001FB044(a1, __p); if ( v20 < 0 ) operator delete(__p[0]); } v17 = cocos2d::CCLabelBMFont::create_1("|", "chatFont.fnt"); *(_QWORD *)(a1 + 568) = v17; (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v17, 10); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 568) + 1024LL))(*(_QWORD *)(a1 + 568), 150); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 568) + 344LL))(*(_QWORD *)(a1 + 568), 0); } return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source