//
// sub_140533C60 from 0x140533c60 to 0x140533d53 (243 bytes)
//
// 4 xrefs:
// > sub_140524CE0 @ 0x140524dbe
// > sub_140524CE0 @ 0x140524dcb
// > sub_140524F10 @ 0x140525049
// > ??> @ 0x14092b94c
//
// 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 11:33:44 +0000
//
double __fastcall sub_140533C60(__int64 a1, _QWORD *a2)
{
__int64 v4; // rdx
__int128 v6; // [rsp+20h] [rbp-78h] BYREF
char v7[16]; // [rsp+30h] [rbp-68h] BYREF
char Buffer[64]; // [rsp+40h] [rbp-58h] BYREF
if ( *a2 )
v4 = *(unsigned int *)(*a2 + 924LL);
else
v4 = 0;
fmt::BasicWriter::operator<<(a1, v4);
v6 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v7, a1 + 528);
fmt::BasicWriter::operator<<(a1, &v6);
sub_1401A8CE0(Buffer, "%.17g", a2[1]);
v6 = (unsigned __int64)Buffer;
fmt::BasicWriter::operator<<(a1, &v6);
v6 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v7, a1 + 528);
return fmt::BasicWriter::operator<<(a1, &v6);
}