//
// sub_1004EAAD0 from 0x1004eaad0 to 0x1004eab52 (130 bytes)
//
// 3 xrefs:
// > BoomScrollLayer::touchInsideClip @ 0x10038fb03
// > sub_10038FB20 @ 0x10038fb6a
// > CCScrollLayerExt::touchInsideClip @ 0x10041c3ae
//
// 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:21 +0000
//
__m128 *__fastcall sub_1004EAAD0(__m128 *a1, __int64 a2, unsigned __int64 *a3)
{
unsigned __int64 *v5; // rsi
__int64 v6; // rax
__int64 v8; // [rsp+8h] [rbp-28h] BYREF
double v9[4]; // [rsp+10h] [rbp-20h] BYREF
v5 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
sub_100278350((double *)&v8, v5, a3);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 512LL))(a2);
if ( v6 )
cocos2d::CCNode::convertToWorldSpace(v9, v6, (unsigned int *)&v8);
else
sub_1002782D0(v9, &v8);
sub_100278300(a3, v9);
sub_1002787F0(a1, a3);
return a1;
}