//
// sub_1002CAB40 from 0x1002cab40 to 0x1002cab76 (54 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:28:10 +0000
//
__int64 __fastcall sub_1002CAB40(_DWORD *a1, int *a2, _DWORD *a3)
{
int v3; // eax
__int64 result; // rax
v3 = (*a1 - 10000000) / 10000;
*a2 = v3;
result = (unsigned int)(*a1 - 10000 * v3 - 10000000);
*a3 = result;
return result;
}