//
// sub_BDCFC from 0xbdcfc to 0xbdd1c (32 bytes)
//
// 3 xrefs:
// > ??> @ 0xbdcfa
// > sub_52028 @ 0x52032
// > sub_BCC7C @ 0xbcc96
//
// 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:41:47 +0000
//
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;
}