//
// sub_6B878 from 0x6b878 to 0x6b8aa (50 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}