//
// sub_6B878 from 0x6b878 to 0x6b8aa (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 11:40:58 +0000
//
int __fastcall sub_6B878(int a1)
{
int v2; // r0
int v3; // r0
int (__fastcall ***v4)(_DWORD); // r0
int result; // r0
v2 = *(_DWORD *)(a1 + 368);
if ( !v2 )
return 28;
v3 = *(_DWORD *)(v2 + 71940);
if ( v3 && (v4 = sub_526EC(v3, 10)) != nullptr )
result = sub_6C474(v4, *(_DWORD *)(a1 + 424));
else
result = 0;
*(_DWORD *)(a1 + 424) = 0;
return result;
}