// // sub_71CF70 from 0x71cf70 to 0x71d0a4 (308 bytes) // // 1 xrefs: // > sub_71D0EC @ 0x71d116 // // 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 // int __fastcall sub_71CF70(int a1) { _DWORD *v1; // r4 int v2; // r5 int v3; // r7 int v4; // r6 unsigned int v5; // r8 size_t v6; // r9 int v7; // r10 void *v10; // r11 int v11; // r0 _DWORD *v12; // r3 int v13; // r5 int v14; // r3 int v15; // [sp+24h] [bp-20h] int v16; // [sp+30h] [bp-14h] BYREF int v17; // [sp+34h] [bp-10h] BYREF double v18; // [sp+38h] [bp-Ch] v1 = *(_DWORD **)a1; v16 = 0; v17 = 0; v2 = v1[13]; v15 = v1[2]; if ( v2 ) { if ( v2 == 1 ) v2 = 6; else v2 = 5; } v3 = v1[14]; v4 = *(_DWORD *)(a1 + 4); v5 = v1[12]; v18 = 0.0; v6 = *(_DWORD *)(v4 + 8); v7 = *(_DWORD *)(v4 + 12); if ( (unsigned int)v3 > 0x64 || v5 > 1 ) return 0; if ( !v5 ) v2 = 0; v10 = (void *)WebPSafeMalloc(1, 0, v7 * v6); if ( !v10 ) return 0; WebPCopyPlane(*(void **)(v4 + 36), *(_DWORD *)(v4 + 40), v10, v6, v6, v7); if ( v3 > 99 || sub_735AB0(v10, v6, v7) ) { sub_70D39C(); v11 = sub_71CD14((int)v10, v6, v7, v7 * v6, v5, v2, v3 <= 99, v15, &v16, &v17, *(_DWORD **)(v4 + 88)); v12 = *(_DWORD **)(v4 + 88); v13 = v11; if ( v12 ) { *v12 += v17; *(double *)(a1 + 22512) = v18; } WebPSafeFree(v10); if ( v13 ) { v14 = v16; *(_DWORD *)(a1 + 380) = v17; *(_DWORD *)(a1 + 376) = v14; return 1; } return 0; } WebPSafeFree(v10); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source