//
// sub_140253DB0 from 0x140253db0 to 0x140253e29 (121 bytes)
//
// 2 xrefs:
// > sub_1402195E0 @ 0x14021963f
// > ??> @ 0x1406cf720
//
// 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
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall sub_140253DB0(__int64 a1, void *a2)
{
__int64 v3; // r8
__int64 v4; // r8
__int64 v5; // r8
int v7; // [rsp+30h] [rbp+8h] BYREF
int v8; // [rsp+34h] [rbp+Ch]
void *v9; // [rsp+38h] [rbp+10h]
v8 = HIDWORD(a1);
v9 = a2;
memset(a2, 0, 0xC8u);
v7 = 0;
sub_14005E660((__int64)a2, &v7, v3);
v8 = ((unsigned __int64)a2 + 64) >> 32;
v7 = 0;
sub_14005E660((__int64)a2 + 64, &v7, v4);
v8 = ((unsigned __int64)a2 + 128) >> 32;
v7 = 0;
return sub_14005E660((__int64)a2 + 128, &v7, v5);
}