// // sub_CBAD68 from 0xcbad68 to 0xcbadc0 (88 bytes) // // 3 xrefs: // > sub_C647C0 @ 0xc649d0 // > sub_C72508 @ 0xc72668 // > WebPPictureRescale @ 0xcac404 // // 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_CBAD68(int a1, int a2, int *a3, int *a4) { int v4; // w4 int v5; // w5 v4 = *a3; v5 = *a4; if ( !*a3 ) v4 = (a2 / 2 + a1 * v5) / a2; if ( !v5 ) v5 = (a1 / 2 + a2 * v4) / a1; if ( v5 <= 0 || v4 <= 0 ) return 0; *a3 = v4; *a4 = v5; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source