//
// sub_100078E50 from 0x100078e50 to 0x100078e94 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x100aba9f0
//
// 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:58 +0000
//
__int64 __fastcall sub_100078E50(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 result; // rax
unsigned int v4; // ebx
_QWORD v5[4]; // [rsp+0h] [rbp-20h] BYREF
v5[0] = v2;
cocos2d::CCTouch::getLocation((__int64)v5, a2);
result = sub_100278940(a1 + 96, v5);
if ( !(_BYTE)result )
{
v4 = result;
sub_100065820(*(_QWORD *)(a1 + 88));
return v4;
}
return result;
}