//
// sub_77580C from 0x77580c to 0x775828 (28 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
//
_DWORD *__fastcall sub_77580C(_DWORD *a1, char a2)
{
sub_77500C(a1, 0, *(_BYTE **)(*a1 - 12), (_BYTE *)&dword_0 + 1);
*(_BYTE *)*a1 = a2;
return a1;
}