// // sub_8F7750 from 0x8f7750 to 0x8f7948 (504 bytes) // // 2 xrefs: // > sub_8F7960 @ 0x8f79b0 // > sub_8F7C58 @ 0x8f7ca0 // // 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:14 +0000 // bool __fastcall sub_8F7750(int a1) { int v1; // r3 int v3; // r3 int v4; // r0 _DWORD *v6; // [sp+8h] [bp-Ch] v6 = *(_DWORD **)(a1 + 576); v1 = *v6; if ( *v6 == 2 ) { if ( *(_WORD *)(a1 + 84) != 8 && *(_WORD *)(a1 + 84) != 16 && *(_WORD *)(a1 + 84) != 32 ) { TIFFErrorExt( *(_DWORD *)(a1 + 628), (int)"PredictorSetup", "Horizontal differencing \"Predictor\" not supported with %d-bit samples", *(unsigned __int16 *)(a1 + 84)); return 0; } } else { if ( v1 != 3 ) { if ( v1 == 1 ) return 1; TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"PredictorSetup", "\"Predictor\" value %d not supported", *v6); return 0; } if ( *(_WORD *)(a1 + 86) != 3 ) { TIFFErrorExt( *(_DWORD *)(a1 + 628), (int)"PredictorSetup", "Floating point \"Predictor\" not supported with %d data format", *(unsigned __int16 *)(a1 + 86)); return 0; } } if ( *(_WORD *)(a1 + 126) == 1 ) v3 = *(unsigned __int16 *)(a1 + 98); else v3 = 1; v6[1] = v3; if ( (*(_DWORD *)(a1 + 12) & 0x400) != 0 ) v4 = TIFFTileRowSize(a1); else v4 = TIFFScanlineSize(a1); v6[2] = v4; return v6[2] != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source