// // sub_10033DC00 from 0x10033dc00 to 0x10033dca6 (166 bytes) // // 10 xrefs: // > @ 0x100b1da10 // > @ 0x100b1e1d0 // > @ 0x100b1e958 // > @ 0x100b1f068 // > @ 0x100b20000 // > @ 0x100b237c0 // > @ 0x100b2d2a8 // > @ 0x100b2f800 // > @ 0x100b31060 // > @ 0x100b528d8 // // 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:28:42 +0000 // _QWORD *__fastcall sub_10033DC00(__int64 a1, unsigned __int8 a2) { _QWORD *result; // rax const void **v3; // r12 unsigned __int64 v4; // r13 *(_BYTE *)(a1 + 18) = a2; result = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 408) + 488LL))(a1 - 408); if ( result ) { result = (_QWORD *)result[7]; if ( *(_DWORD *)result ) { v3 = (const void **)result[2]; v4 = (unsigned __int64)&v3[*(unsigned int *)result - 1]; do { if ( !*v3 ) break; result = __dynamic_cast( *v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( result ) result = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*result + 48LL))(result, a2); ++v3; } while ( (unsigned __int64)v3 <= v4 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source