//
// sub_B44A6 from 0xb44a6 to 0xb44d2 (44 bytes)
//
// 2 xrefs:
// > sub_C2248 @ 0xc24e2
// > ??> @ 0xc2686
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:42 +0000
//
int __fastcall sub_B44A6(__int64 *a1)
{
__int64 v1; // kr00_8
int v2; // r1
int v3; // r6
int v4; // r5
v1 = *a1;
v2 = *((_DWORD *)a1 + 3);
v3 = *((_DWORD *)a1 + 5);
*((_DWORD *)a1 + 9) += *((_DWORD *)a1 + 1);
v4 = *((_DWORD *)a1 + 7);
*((_DWORD *)a1 + 7) = (HIDWORD(v1) + v4) % v2;
return v1 + v3 * v4;
}