//
// sub_100476980 from 0x100476980 to 0x100476a28 (168 bytes)
//
// 1 xrefs:
// > GJTransformControl::ccTouchMoved @ 0x10015bc08
//
// 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:05:41 +0000
//
__int64 __fastcall sub_100476980(__int64 a1, __int64 a2, float a3, float a4)
{
__int64 v7; // x20
float v8; // s0
_BYTE *v9; // x21
__int64 result; // x0
v7 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);
v8 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v7 + 168LL))(v7);
v9 = CCCircleWave::create(0, 0, 1.0, a3 / v8, a4);
v9[342] = -1;
*((_WORD *)v9 + 170) = -1;
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v9 + 184LL))(v9, a2);
result = (*(__int64 (__fastcall **)(__int64, _BYTE *, __int64))(*(_QWORD *)v7 + 464LL))(v7, v9, 1000);
*((_DWORD *)v9 + 88) = 1;
return result;
}