//
// sub_B44A6 from 0xb44a6 to 0xb44d2 (44 bytes)
//
// 2 xrefs:
// > sub_C2248 @ 0xc24e2
// > ??> @ 0xc2686
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}