// // CCTextInputNode::enableTextScroll from 0x3e32c0 to 0x3e3440 (384 bytes) // // 3 xrefs: // > SetTextPopup::init @ 0x5de650 // > NewThreadPopup::init @ 0x756d64 // > ThreadViewPopup::init @ 0x75ccae // // 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:03 +0000 // float *__fastcall CCTextInputNode::enableTextScroll(float *this) { float *v1; // r4 const cocos2d::CCSize *v2; // r0 int v3; // r0 float v4; // r1 float v5; // s15 int v6; // r8 void (__fastcall *v7)(int, _BYTE *); // r9 int v8; // r8 void (__fastcall *v9)(int, _BYTE *); // r9 int v10; // r8 void (__fastcall *v11)(int, _BYTE *); // r9 const char *v12; // r0 const char *v13; // r8 size_t v14; // r0 float v15[2]; // [sp+0h] [bp-24h] BYREF _BYTE v16[8]; // [sp+8h] [bp-1Ch] BYREF int v17[3]; // [sp+10h] [bp-14h] BYREF v1 = this; if ( !*((_DWORD *)this + 113) ) { if ( *((_DWORD *)this + 109) ) { v2 = (const cocos2d::CCSize *)(*(int (__fastcall **)(float *))(*(_DWORD *)this + 164))(this); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v15, v2); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v16, (const cocos2d::CCSize *)v15); v3 = ScrollableContentLayer::create(v16); v4 = -(float)(v15[0] * 0.5); v5 = -(float)(v15[1] * 0.5); *((_DWORD *)v1 + 113) = v3; v6 = v3; v7 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v3 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v4, v5); v7(v6, v16); (*(void (__fastcall **)(float *, _DWORD, int))(*(_DWORD *)v1 + 232))(v1, *((_DWORD *)v1 + 113), 5); cocos2d::CCObject::retain(*((cocos2d::CCObject **)v1 + 109)); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)v1 + 109) + 264))(*((_DWORD *)v1 + 109), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(*((_DWORD *)v1 + 113) + 320) + 228))( *(_DWORD *)(*((_DWORD *)v1 + 113) + 320), *((_DWORD *)v1 + 109)); cocos2d::CCObject::release(*((cocos2d::CCObject **)v1 + 109)); v8 = *((_DWORD *)v1 + 109); v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 0.0, 1.0); v9(v8, v16); v10 = *((_DWORD *)v1 + 109); v11 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v10 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 4.0, -2.0); v11(v10, v16); cocos2d::CCObject::retain(*((cocos2d::CCObject **)v1 + 103)); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)v1 + 103) + 264))(*((_DWORD *)v1 + 103), 0); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**(_DWORD **)(*((_DWORD *)v1 + 113) + 320) + 232))( *(_DWORD *)(*((_DWORD *)v1 + 113) + 320), *((_DWORD *)v1 + 103), 10); cocos2d::CCObject::release(*((cocos2d::CCObject **)v1 + 103)); v12 = (const char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)v1 + 104) + 624))(*((_DWORD *)v1 + 104)); memset(v17, 0, sizeof(v17)); v13 = v12; v14 = strlen(v12); std::string::__init(v17, v13, v14); CCTextInputNode::updateLabel(v1, (int)v17); return (float *)std::string::~string((int)v17); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source