//
// sub_843128 from 0x843128 to 0x84315a (50 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:02:22 +0000
//
int __fastcall sub_843128(int a1)
{
int v1; // r4
void (*v2)(void *); // r3
void *v3; // r0
void (*v4)(void *); // r3
v1 = *(_DWORD *)(a1 + 1088);
if ( v1 )
{
off_D200B0(*(void **)(v1 + 328));
v2 = off_D200B0;
v3 = *(void **)(v1 + 332);
*(_DWORD *)(v1 + 328) = 0;
v2(v3);
v4 = off_D200B0;
*(_DWORD *)(v1 + 332) = 0;
v4((void *)v1);
}
return 0;
}