//
// sub_1005DED94 from 0x1005ded94 to 0x1005dedc4 (48 bytes)
//
// 0 xrefs:
//
// 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:09:39 +0000
//
_DWORD *__fastcall sub_1005DED94(_DWORD *result, int a2)
{
int v2; // w8
v2 = a2 / result[6];
result[8] = (result[8] + v2) % result[4];
result[10] += v2;
return result;
}