//
// sub_10041E850 from 0x10041e850 to 0x10041e8f9 (169 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b402d0
//
// 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:30:14 +0000
//
__int64 __fastcall sub_10041E850(__int64 a1, __int64 a2, float a3)
{
__int64 result; // rax
const void *v4; // r14
void *v5; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 512LL))(a1 - 320);
if ( result )
{
v4 = (const void *)result;
while ( 1 )
{
v5 = __dynamic_cast(
v4,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'FLAlertLayer,
0);
if ( v5 )
break;
result = (*(__int64 (__fastcall **)(const void *))(*(_QWORD *)v4 + 512LL))(v4);
v4 = (const void *)result;
if ( !result )
return result;
}
return (*(__int64 (__fastcall **)(void *, __int64, float))(*(_QWORD *)v5 + 1328LL))(v5, a2, a3);
}
return result;
}