// // sub_BC54E0 from 0xbc54e0 to 0xbc55ec (268 bytes) // // 2 xrefs: // > png_colorspace_set_endpoints @ 0xbc8da0 // > png_colorspace_set_chromaticities @ 0xbc9824 // // 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_BC54E0(_DWORD *a1, _DWORD *a2, int a3) { int v3; // w3 unsigned int v4; // w5 int v5; // w4 int v6; // w3 int v7; // w4 int v8; // w3 int v9; // w4 int v10; // w3 int v11; // w4 int v12; // w3 int v13; // w4 int v14; // w3 int v15; // w4 int v16; // w1 int v17; // w0 v3 = a2[6]; v4 = 0; v5 = a1[6]; if ( v5 >= v3 - a3 && v5 <= v3 + a3 ) { v6 = a2[7]; v7 = a1[7]; if ( v7 >= v6 - a3 && v7 <= a3 + v6 && *a1 >= *a2 - a3 && *a1 <= a3 + *a2 ) { v8 = a2[1]; v9 = a1[1]; if ( v9 >= v8 - a3 && v9 <= a3 + v8 ) { v10 = a2[2]; v11 = a1[2]; if ( v11 >= v10 - a3 && v11 <= a3 + v10 ) { v12 = a2[3]; v13 = a1[3]; if ( v13 >= v12 - a3 && v13 <= a3 + v12 ) { v14 = a2[4]; v15 = a1[4]; if ( v15 >= v14 - a3 && v15 <= a3 + v14 ) { v16 = a2[5]; v17 = a1[5]; if ( v17 >= v16 - a3 ) return v17 <= a3 + v16; } } } } } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source