//
// sub_10000ACDC from 0x10000acdc to 0x10000ad3c (96 bytes)
//
// 3 xrefs:
// > GJEffectManager::prepareMoveActions @ 0x10001362c
// > GJBaseGameLayer::processDynamicObjectActions @ 0x1002935ac
// > GJBaseGameLayer::processDynamicObjectActions @ 0x1002936a0
//
// 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 10:57:14 +0000
//
__int64 __fastcall sub_10000ACDC(__int64 result, char a2, char a3, float a4)
{
__int64 v4; // x19
__int128 v5; // q0
__int128 v7; // q1
double v8; // d0
v4 = result;
if ( (*(_BYTE *)(result + 114) & 1) != 0 )
{
v5 = *(_OWORD *)(result + 160);
*(_OWORD *)(result + 272) = v5;
*(_QWORD *)(result + 168) = v5;
}
else
{
if ( (a3 & 1) == 0 )
result = sub_10000AB84(result, a4);
v7 = *(_OWORD *)(v4 + 160);
v8 = *(double *)&v7 + *(double *)(v4 + 152);
*(double *)(v4 + 160) = v8;
*(_OWORD *)(v4 + 272) = v7;
if ( (a2 & 1) == 0 )
*(double *)(v4 + 168) = v8;
}
return result;
}