// // ControlMenuTouch::began from 0xbce778 to 0xbce82c (180 bytes) // // 4 xrefs: // > GJRotationControl::ccTouchBegan @ 0xbcecd4 // > GJScaleControl::ccTouchBegan @ 0xbd01d4 // > GJTransformControl::ccTouchBegan @ 0xbd1e7c // > @ 0x49ba0 // // 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 13:03:36 +0000 // __int64 __fastcall ControlMenuTouch::began(__int64 *a1, __int64 a2, __int64 a3) { __int64 v6; // x1 unsigned __int64 v7; // x19 __int64 v8; // x0 __int64 v9; // x3 __int64 v10; // x23 __int64 result; // x0 v6 = *a1; v7 = 0; v8 = a1[1]; a1[3] = 0; if ( !((v8 - v6) >> 3) ) return 0; while ( 1 ) { v9 = *(_QWORD *)(v6 + 8 * v7); v10 = 8 * v7++; result = (*(unsigned __int8 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v9 + 896LL))(v9, a2, a3); v6 = *a1; if ( (_BYTE)result ) break; if ( v7 >= (a1[1] - v6) >> 3 ) return 0; } a1[3] = *(_QWORD *)(v6 + v10); return result; }