//
// sub_7845DA from 0x7845da to 0x78460c (50 bytes)
//
// 1 xrefs:
// > sub_783AB2 @ 0x783ac2
//
// 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
//
void __fastcall sub_7845DA(int a1)
{
int v1; // r4
int v2; // r7
int v3; // r0
int v4; // r1
v3 = sub_77C11C(a1, 45);
sub_783AC6(v3);
*(_BYTE *)(v1 + v4) = 0;
(*(void (__fastcall **)(int))(v1 + 264))(v1);
*(_DWORD *)(v1 + v2) = 0;
++*(_DWORD *)(v1 + 288);
JUMPOUT(0x784258);
}