// // sub_8B3220 from 0x8b3220 to 0x8b3384 (356 bytes) // // 1 xrefs: // > sub_8B34CC @ 0x8b3eb0 // // 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:03:54 +0000 // int __fastcall sub_8B3220(int a1, _DWORD *a2, unsigned int *a3) { int v5; // [sp+10h] [bp-Ch] unsigned int i; // [sp+14h] [bp-8h] *a3 = (unsigned __int16)*a2; if ( (unsigned __int16)*a3 > (unsigned int)*(unsigned __int16 *)(a1 + 58) ) return 0; v5 = a2[1]; if ( *a3 && !v5 ) return 0; for ( i = 0; *a3 > i; ++i ) { if ( *(unsigned __int16 *)(v5 + 2 * i) > 2u ) { if ( *(_WORD *)(v5 + 2 * i) != 999 ) return 0; *(_WORD *)(v5 + 2 * i) = 2; } } *(_WORD *)(a1 + 116) = *a3; TIFFsetShortArray(a1 + 120, v5, *(unsigned __int16 *)(a1 + 116)); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source