// // CustomSFXRowMenu::ccTouchBegan from 0x10038aeb4 to 0x10038afdc (296 bytes) // // 2 xrefs: // > sub_10038AFDC @ 0x10038afe0 // > @ 0x10093f820 // // 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 11:03:34 +0000 // __int64 __fastcall CustomSFXRowMenu::ccTouchBegan(__int64 a1, __int64 a2) { __int64 v4; // x0 const void *v5; // x23 void *v6; // x0 __int64 v7; // x22 float v8; // s8 __int64 v9; // x0 float v11[4]; // [xsp+8h] [xbp-68h] BYREF __int64 v12; // [xsp+18h] [xbp-58h] BYREF v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1); if ( !v4 ) return cocos2d::CCMenu::ccTouchBegan(a1, a2); v5 = (const void *)v4; while ( 1 ) { v6 = __dynamic_cast( v5, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'CCScrollLayerExt, 0); if ( v6 ) break; v5 = (const void *)(*(__int64 (__fastcall **)(const void *))(*(_QWORD *)v5 + 512LL))(v5); if ( !v5 ) return cocos2d::CCMenu::ccTouchBegan(a1, a2); } v7 = (__int64)v6; cocos2d::CCTouch::getLocation(v11, a2); cocos2d::CCNode::convertToNodeSpace(v7, (__int64)v11, &v12); v8 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 328LL))(v7); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 328LL))(v7); sub_1000262CC(v11, 0.0, 0.0, v8, *(float *)(v9 + 4)); if ( !sub_1000265E4(v11, (float *)&v12) ) return 0; else return cocos2d::CCMenu::ccTouchBegan(a1, a2); }