//
// sub_AC3304 from 0xac3304 to 0xac332c (40 bytes)
//
// 0 xrefs:
//
// 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:09:12 +0000
//
void __fastcall sub_AC3304(char a1, unsigned int a2, int a3, int a4)
{
int v4; // r4
unsigned int v7; // r1
*(_BYTE *)(a4 + 31) = a1;
_CF = a2 >= 0x8C;
v7 = a2 - 140;
*(_BYTE *)(v7 + __CFSUB__(a3, v4, _CF) + a3 - (v4 + !_CF) + 9) = v7;
*(_WORD *)(v7 + 4) = v4;
*(_WORD *)(v4 + 40) = (unsigned __int16)&STACK[0x160];
__asm { LDRSHT.W PC, [R9,#0x14] }
}