// // CCTextInputNode::ccTouchEnded from 0x10006c4c0 to 0x10006c58e (206 bytes) // // 2 xrefs: // > sub_10006C590 @ 0x10006c59c // > @ 0x100aba1c0 // // 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 12:19:45 +0000 // __int64 __fastcall CCTextInputNode::ccTouchEnded(__int64 a1, __int64 a2) { __int64 result; // rax char v4; // r15 __int64 v5; // rdi char v6; // r12 __int64 v7; // rdi _BYTE v8[16]; // [rsp+8h] [rbp-38h] BYREF float v9[10]; // [rsp+18h] [rbp-28h] BYREF result = *(unsigned __int8 *)(a1 + 696); v4 = *(_BYTE *)(a1 + 697); *(_BYTE *)(a1 + 697) = 0; if ( (_BYTE)result == 1 ) { *(_BYTE *)(a1 + 696) = 0; result = cocos2d::CCNode::unschedule(a1, CCTextInputNode::holdTimerFired, 0); } v5 = *(_QWORD *)(a1 + 640); if ( v5 ) { v6 = *(_BYTE *)(v5 + 480); result = sub_10096C5E0(v5, a2); if ( !v6 && !v4 ) { v7 = *(_QWORD *)(a1 + 584); if ( !v7 || (result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 40LL))(v7, a1), (_BYTE)result) ) { cocos2d::CCTouch::getLocation((__int64)v9, a2); sub_1002787F0(v8, &unk_100BE1030); CCTextInputNode::updateCursorPosition(a1, v9); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1160LL))(a1, 1); } } } return result; }