// // CCTextInputNode::enableTextScroll from 0x140054880 to 0x140054a9e (542 bytes) // // 6 xrefs: // > ThreadViewPopup::init @ 0x1400da426 // > NewThreadPopup::init @ 0x1400f0113 // > SetTextPopup::init @ 0x1403a787c // > @ 0x140886f1c // > @ 0x140886f2c // > @ 0x140910298 // // This function is hookable on this platform (idp: pc, 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:25:40 +0000 // void __fastcall CCTextInputNode::enableTextScroll(__int64 a1) { const struct cocos2d::CCSize *v2; // rax __int64 v3; // rax __int64 *v4; // rdi float v5; // xmm1_4 float v6; // xmm2_4 __int64 v7; // rbx __int64 v8; // rax __int64 *v9; // rdi __int64 v10; // rbx __int64 v11; // rax __int64 *v12; // rdi __int64 v13; // rbx __int64 v14; // rax _BYTE *v15; // rax size_t v16; // r8 __int128 v17; // [rsp+20h] [rbp-28h] BYREF __int64 v18; // [rsp+30h] [rbp-18h] __int64 v19; // [rsp+38h] [rbp-10h] float v20; // [rsp+50h] [rbp+8h] BYREF float v21; // [rsp+54h] [rbp+Ch] char v22; // [rsp+58h] [rbp+10h] BYREF if ( !*(_QWORD *)(a1 + 656) && *(_QWORD *)(a1 + 632) ) { v2 = (const struct cocos2d::CCSize *)(*(__int64 (**)(void))(*(_QWORD *)a1 + 320LL))(); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v20, v2); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v22, (const struct cocos2d::CCSize *)&v20); v4 = (__int64 *)ScrollableContentLayer::create(v3); v5 = -v20; v6 = (float)-v21 * 0.5; *(_QWORD *)(a1 + 656) = v4; v7 = *v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, v5 * 0.5, v6); (*(void (__fastcall **)(__int64 *, __int64))(v7 + 184))(v4, v8); (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 656), 5); cocos2d::CCObject::retain(*(cocos2d::CCObject **)(a1 + 632)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 632) + 520LL))(*(_QWORD *)(a1 + 632), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 656) + 416LL) + 464LL))( *(_QWORD *)(*(_QWORD *)(a1 + 656) + 416LL), *(_QWORD *)(a1 + 632)); cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 632)); v9 = *(__int64 **)(a1 + 632); v10 = *v9; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, 0.0, 1.0); (*(void (__fastcall **)(__int64 *, __int64))(v10 + 288))(v9, v11); v12 = *(__int64 **)(a1 + 632); v13 = *v12; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, 4.0, -2.0); (*(void (__fastcall **)(__int64 *, __int64))(v13 + 184))(v12, v14); cocos2d::CCObject::retain(*(cocos2d::CCObject **)(a1 + 584)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 520LL))(*(_QWORD *)(a1 + 584), 0); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(*(_QWORD *)(a1 + 656) + 416LL) + 456LL))( *(_QWORD *)(*(_QWORD *)(a1 + 656) + 416LL), *(_QWORD *)(a1 + 584), 10); cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 584)); v15 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 592) + 600LL) + 8LL))(*(_QWORD *)(a1 + 592) + 600LL); v16 = -1; v18 = 0; v19 = 0; v17 = 0; do ++v16; while ( v15[v16] ); sub_14003D230(&v17, v15, v16); CCTextInputNode::updateLabel(a1, &v17); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source