// // sub_92CB30 from 0x92cb30 to 0x92cc64 (308 bytes) // // 1 xrefs: // > sub_92CCAC @ 0x92ccd6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:04:48 +0000 // int __fastcall sub_92CB30(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_945670(v10, v6, v7) ) { sub_91CF5C(); v11 = sub_92C8D4((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