//
// sub_675764 from 0x675764 to 0x67579a (54 bytes)
//
// 0 xrefs:
//
// 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_675764(_DWORD *a1)
{
int v1; // r4
int v3; // r3
v1 = a1[6];
if ( fwrite(*(const void **)(v1 + 24), 1u, 0x1000u, *(FILE **)(v1 + 20)) != 4096 )
{
*(_DWORD *)(*a1 + 20) = 38;
(*(void (__fastcall **)(_DWORD *))*a1)(a1);
}
v3 = *(_DWORD *)(v1 + 24);
*(_DWORD *)(v1 + 4) = 4096;
*(_DWORD *)v1 = v3;
return 1;
}