// // sub_100275720 from 0x100275720 to 0x100275816 (246 bytes) // // 21 xrefs: // > @ 0x1008b1f70 // > @ 0x1008b3468 // > @ 0x1008b66c0 // > @ 0x1008e11c8 // > @ 0x1008ef1f8 // > @ 0x1008ef740 // > @ 0x10090cd18 // > @ 0x100914ef8 // > @ 0x10092b498 // > @ 0x10092b968 // > @ 0x10092be50 // > @ 0x10092c350 // > @ 0x10092c850 // > @ 0x10092cd50 // > @ 0x10092d238 // > @ 0x1009658b8 // > @ 0x100965d60 // > @ 0x10097ed80 // > @ 0x1009819f8 // > @ 0x100981e80 // > @ 0x10098e5f8 // // 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 // __int64 __fastcall sub_100275720(_BYTE *a1, unsigned __int8 *a2) { __int64 result; // rax const void **v3; // r12 unsigned __int64 v4; // r13 a1[10] = (int)((double)((unsigned __int8)a1[13] * *a2) / 255.0); a1[11] = (int)((double)((unsigned __int8)a1[14] * a2[1]) / 255.0); result = (unsigned int)(int)((double)((unsigned __int8)a1[15] * a2[2]) / 255.0); a1[12] = result; if ( a1[16] == 1 ) { result = *((_QWORD *)a1 - 14); if ( result ) { result = *(_QWORD *)(result + 56); if ( *(_DWORD *)result ) { v3 = *(const void ***)(result + 16); v4 = (unsigned __int64)&v3[*(unsigned int *)result - 1]; do { if ( !*v3 ) break; result = (__int64)__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 = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)result + 80LL))(result, a1 + 10); ++v3; } while ( (unsigned __int64)v3 <= v4 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source