//
// sub_7C95C from 0x7c95c to 0x7c9ce (114 bytes)
//
// 4 xrefs:
// > sub_7B778 @ 0x7b778
// > sub_7BA6C @ 0x7bf00
// > sub_7C3E4 @ 0x7c41a
// > sub_7C3E4 @ 0x7c426
//
// 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 11:41:14 +0000
//
int __fastcall sub_7C95C(int a1)
{
int v2; // r0
int v3; // r6
int v4; // r11
int v5; // r5
_DWORD *v6; // r1
v2 = *(_DWORD *)(a1 + 224);
if ( v2 )
{
v3 = 0;
v4 = 0;
v5 = (*(_DWORD *)(a1 + 292) + 1) / 2;
while ( v4 < v5 )
{
memset((void *)(v2 + v3), 0, 0x48BCu);
v2 = *(_DWORD *)(a1 + 224);
++v4;
v6 = (_DWORD *)(v2 + v3);
v6[4647] = 1;
v6[4654] = -1;
v6[2320] = (v2 + v3 + 4623) & 0xFFFFFFF0;
v3 += 18620;
}
}
return 0;
}