//
// sub_BDCFC from 0xbdcfc to 0xbdd1c (32 bytes)
//
// 3 xrefs:
// > ??> @ 0xbdcfa
// > sub_52028 @ 0x52032
// > sub_BCC7C @ 0xbcc96
//
// 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 sub_BDCFC()
{
int v0; // r0
int result; // r0
v0 = dword_126180;
if ( dword_126180 )
goto LABEL_2;
result = sub_509CE();
if ( !result )
{
v0 = dword_126180;
LABEL_2:
dword_126180 = v0 + 1;
return 0;
}
return result;
}