// // CCTextInputNode::rightClick from 0x6c2298 to 0x6c247c (484 bytes) // // 3 xrefs: // > `non-virtual thunk to'CCTextInputNode::rightClick @ 0x6c2480 // > @ 0xe1430 // > @ 0x141ff48 // // 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::rightClick(CCTextInputNode *this, float a2, float a3) { char isVisibleInTree; // w0 float v5; // s0 unsigned int v6; // w19 const void *i; // x19 void *v9; // x0 unsigned __int8 v10; // w0 __int64 v11; // x0 float v13; // [xsp+40h] [xbp+40h] float v15; // [xsp+50h] [xbp+50h] _BYTE v16[8]; // [xsp+68h] [xbp+68h] BYREF float v17; // [xsp+70h] [xbp+70h] BYREF _BYTE v18[16]; // [xsp+78h] [xbp+78h] BYREF isVisibleInTree = CCTextInputNode::isVisibleInTree(this); v5 = a2; if ( !isVisibleInTree ) return 0; v13 = a3; v15 = v5; if ( !(*(unsigned __int8 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)this + 992LL))(this) ) return 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v15, v13); for ( i = (const void *)(*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)this + 512LL))(this); i; i = (const void *)(*(__int64 (__fastcall **)(const void *))(*(_QWORD *)i + 512LL))(i) ) { v9 = _dynamic_cast( i, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchClipper, -2); if ( v9 ) { if ( !(*(unsigned __int8 (__fastcall **)(void *, _BYTE *))(*(_QWORD *)v9 + 16LL))(v9, v16) ) return 0; } } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (const cocos2d::CCPoint *)v16); v10 = CCTextInputNode::containsTouchPoint((__int64)this, (const cocos2d::CCPoint *)v18); v6 = v10; if ( !v10 ) return 0; if ( CCTextInputNode::isCoveredByPopup(this) ) return 0; v11 = *((_QWORD *)this + 73); if ( v11 ) { if ( !(*(unsigned __int8 (__fastcall **)(__int64, CCTextInputNode *))(*(_QWORD *)v11 + 40LL))(v11, this) ) return 0; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, (const cocos2d::CCPoint *)v16); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v18, (const cocos2d::CCRect *)&unk_155C0E8); CCTextInputNode::updateCursorPosition((__int64)this, &v17); if ( !*((_BYTE *)this + 460) ) (*(void (__fastcall **)(CCTextInputNode *, __int64))(*(_QWORD *)this + 1160LL))(this, 1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (const cocos2d::CCPoint *)v16); CCTextInputNode::openEditMenu(this, (const cocos2d::CCPoint *)v18); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source