//
// sub_10092BFD0 from 0x10092bfd0 to 0x10092c0f9 (297 bytes)
//
// 1 xrefs:
// > sub_10092BF00 @ 0x10092bf95
//
// 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
//
char __fastcall sub_10092BFD0(_DWORD *a1)
{
__int64 v1; // r14
char result; // al
_QWORD *v3; // r13
__int64 v4; // r15
unsigned __int64 v5; // r14
_DWORD *v6; // r12
v1 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);
if ( v1 && (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1) )
{
if ( (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 512LL))(a1) != v1 )
return 1;
if ( (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1) )
{
if ( **(_DWORD **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1) + 56) )
{
v3 = *(_QWORD **)(*(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1) + 56) + 16LL);
v4 = *(_QWORD *)(*(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1) + 56) + 16LL);
v5 = v4 + 8LL * **(unsigned int **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1) + 56) - 8;
if ( (unsigned __int64)v3 <= v5 )
{
while ( 1 )
{
v6 = (_DWORD *)*v3;
if ( !*v3 )
break;
if ( v6 != a1
&& (*(int (__fastcall **)(_QWORD))(*(_QWORD *)v6 + 104LL))(*v3) > a1[148]
&& !__dynamic_cast(
v6,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'TextAlertPopup,
0) )
{
return 1;
}
++v3;
result = 0;
if ( (unsigned __int64)v3 > v5 )
return result;
}
}
}
}
}
return 0;
}