//
// sub_670C6 from 0x670c6 to 0x6710c (70 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_670C6(int a1, int a2, int a3)
{
int v3; // r5
int result; // r0
int v6; // [sp+8h] [bp-18h] BYREF
int v7; // [sp+Ch] [bp-14h] BYREF
if ( a2 )
return 0;
v3 = *(_DWORD *)(a1 + 4);
sub_B43A8(v3);
v6 = 0;
v7 = 0;
sub_57A48(*(_DWORD *)(v3 + 44), &v6, &v7);
result = sub_B434C(v3, v6, v7, 4 * a3, 0);
if ( !result )
return 0;
return result;
}