//
// sub_58198 from 0x58198 to 0x581ba (34 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_58198(int a1, _DWORD *a2)
{
int result; // r0
result = (*(int (__fastcall **)(_DWORD, _DWORD *))(**(_DWORD **)(a1 + 220) + 12))(*(_DWORD *)(a1 + 220), a2);
if ( a2 )
*a2 -= *(_DWORD *)(a1 + 152);
return result;
}