//
// sub_10039E404 from 0x10039e404 to 0x10039e4b8 (180 bytes)
//
// 2 xrefs:
// > CCScrollLayerExt::visit @ 0x10039e3cc
// > CCScrollLayerExt::touchInsideClip @ 0x10039e4e0
//
// 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:45 +0000
//
float *__usercall sub_10039E404@(__int64 a1@, float *a2@)
{
float v4; // s8
float v5; // s9
float v6; // s10
float v7; // s10
float v8; // s11
float v9; // s3
v4 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);
v5 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1) + 4);
v6 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1);
v7 = v6 * (*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 136LL))(a1);
v8 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1) + 4);
v9 = v8 * (*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 152LL))(a1);
return sub_1000262CC(a2, v4, v5, v7, v9);
}