// // sub_1003F6490 from 0x1003f6490 to 0x1003f6546 (182 bytes) // // 1 xrefs: // > @ 0x100933088 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // unsigned int *__fastcall sub_1003F6490(unsigned int *a1, unsigned __int8 a2) { unsigned int *result; // rax __int64 v3; // rdi const void **v4; // r12 unsigned __int64 v5; // r13 result = a1; v3 = *((_QWORD *)a1 + 14); if ( v3 ) { *((_BYTE *)result + 193) = a2; result = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 472LL))(v3); if ( result ) { result = *((unsigned int **)result + 7); if ( *result ) { v4 = *((const void ***)result + 2); v5 = (unsigned __int64)&v4[*result - 1]; do { if ( !*v4 ) break; result = (unsigned int *)__dynamic_cast( *v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( result ) result = (unsigned int *)(*(__int64 (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)result + 40LL))( result, a2); ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source