// // sub_1005DA090 from 0x1005da090 to 0x1005da148 (184 bytes) // // 2 xrefs: // > @ 0x10095e0d0 // > @ 0x1009745b8 // // 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_1005DA090(_BYTE *a1, unsigned __int8 *a2) { unsigned int *result; // rax _QWORD *v3; // r14 unsigned __int64 v4; // r15 a1[114] = (int)((double)((unsigned __int8)a1[117] * *a2) / 255.0); a1[115] = (int)((double)((unsigned __int8)a1[118] * a2[1]) / 255.0); a1[116] = (int)((double)((unsigned __int8)a1[119] * a2[2]) / 255.0); result = *((unsigned int **)a1 - 20); if ( result ) { result = *((unsigned int **)result + 7); if ( *result ) { v3 = *((_QWORD **)result + 2); v4 = (unsigned __int64)&v3[*result - 1]; do { if ( !*v3 ) break; result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD, _BYTE *))(*(_QWORD *)*v3 + 952LL))(*v3, a1 + 114); ++v3; } while ( (unsigned __int64)v3 <= v4 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source