//
// sub_822780 from 0x822780 to 0x822796 (22 bytes)
//
// 1 xrefs:
// > sub_825538 @ 0x826a52
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:52 +0000
//
int __fastcall sub_822780(_DWORD *a1, int a2)
{
if ( !a2 )
return 1;
*a1 = a2;
a1[1] = 0;
a1[2] = 0;
a1[3] = 0;
return 0;
}