// // cocos2d::CCTouchDispatcher::touchesBegan from 0x1004c8670 to 0x1004c871f (175 bytes) // // 2 xrefs: // > sub_1004C8740 @ 0x1004c8749 // > @ 0x100b5c550 // // 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:31:08 +0000 // char __fastcall cocos2d::CCTouchDispatcher::touchesBegan(__int64 a1, _DWORD *a2, __int64 a3) { __int64 v3; // rax __int64 v5; // r12 _QWORD v7[6]; // [rsp+0h] [rbp-30h] BYREF v7[0] = v3; ++*(_DWORD *)(a1 + 124); if ( a2 ) { v3 = cocos2d::CCSet::anyObject(a2); if ( v3 ) { v5 = v3; if ( !(_BYTE)byte_100BE4360 && __cxa_guard_acquire(&byte_100BE4360) ) { sub_1002782D0(&qword_100BE4358, &qword_100BE4328); __cxa_guard_release(&byte_100BE4360); } cocos2d::CCTouch::getLocation((__int64)v7, v5); LOBYTE(v3) = (unsigned __int8)sub_100278300(&qword_100BE4358, v7); } } if ( *(_BYTE *)(a1 + 105) == 1 ) LOBYTE(v3) = cocos2d::CCTouchDispatcher::touches(a1, a2, a3, 0); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source