//
// sub_780494 from 0x780494 to 0x7804b2 (30 bytes)
//
// 3 xrefs:
// > sub_780488 @ 0x780490
// > sub_780488 @ 0x78048e
// > sub_781026 @ 0x781030
//
// 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_780494(int a1, int a2, int a3, int a4)
{
_DWORD *v4; // r4
int v5; // r7
_DWORD *v6; // r0
v4[3] = a4 + 2;
v6 = sub_77D3D0(v4, 69);
sub_77BD98(v4, 48, v5, (int)v6);
sub_77FBB0();
return sub_7804B2();
}