//
// sub_10092BCA0 from 0x10092bca0 to 0x10092bd2d (141 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc2640
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:38:22 +0000
//
__int64 __fastcall sub_10092BCA0(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
__int64 v4; // rdi
__int64 v5; // rdi
__int64 v6; // rbx
char *v7; // rax
const char *CString; // rsi
v3 = *(_QWORD *)(a1 + 200);
if ( !v3 || (result = sub_1007FF190(v3), (v4 = *(_QWORD *)(a1 + 200)) == 0) )
{
v5 = *(_QWORD *)(a1 + 240);
if ( !v5 )
return result;
goto LABEL_7;
}
result = sub_1007FEF90(v4);
v5 = *(_QWORD *)(a1 + 240);
if ( !v5 )
return result;
if ( (int)result <= 0 )
{
LABEL_7:
CString = "";
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v5 + 928LL))(v5, CString);
}
v6 = *(_QWORD *)(a1 + 240);
v7 = sub_10088E820("%i", result);
v5 = v6;
CString = (const char *)cocos2d::CCString::getCString((__int64)v7);
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v5 + 928LL))(v5, CString);
}