//
// sub_6BB840 from 0x6bb840 to 0x6bb8b0 (112 bytes)
//
// 4 xrefs:
// > sub_6B8210 @ 0x6b851c
// > sub_6B8210 @ 0x6b8550
// > sub_6B8210 @ 0x6b8598
// > sub_6B8210 @ 0x6b85cc
//
// 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_6BB840(int a1, _DWORD *a2, int a3, unsigned __int16 a4, double a5)
{
if ( a3 )
return sub_6BCE20(a1, (int)a2, a3, a4, a5);
++*a2;
return 1;
}