// // sub_10041E7E0 from 0x10041e7e0 to 0x10041e846 (102 bytes) // // 0 xrefs: // // 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 // void *__fastcall sub_10041E7E0(__int64 a1) { __int64 v1; // rax const void *v2; // rbx void *result; // rax v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1); if ( !v1 ) return nullptr; v2 = (const void *)v1; while ( 1 ) { result = __dynamic_cast( v2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'FLAlertLayer, 0); if ( result ) break; v2 = (const void *)(*(__int64 (__fastcall **)(const void *))(*(_QWORD *)v2 + 512LL))(v2); if ( !v2 ) return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source