// // sub_8EB2B8 from 0x8eb2b8 to 0x8eb4f8 (576 bytes) // // 2 xrefs: // > sub_8EB950 @ 0x8ebac4 // > sub_8EBBD0 @ 0x8ebd04 // // 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:11 +0000 // int __fastcall sub_8EB2B8(_DWORD *a1) { int v1; // r3 int v3; // r0 unsigned __int16 *v6; // [sp+8h] [bp-Ch] int *v7; // [sp+Ch] [bp-8h] v6 = (unsigned __int16 *)(a1 + 10); v7 = (int *)a1[144]; if ( !v7 ) _assert2(); if ( v6[25] != 32844 ) _assert2(); if ( *v7 == -1 ) *v7 = sub_8EB1A4(v6); v1 = *v7; if ( *v7 == 1 ) { v7[2] = 2; } else if ( v1 == 3 ) { v7[2] = 1; } else { if ( v1 ) { TIFFErrorExt(a1[157], (int)"LogL16InitState", "No support for converting user data format to LogL"); return 0; } v7[2] = 4; } if ( (a1[3] & 0x400) != 0 ) v3 = sub_8EB250(*((_DWORD *)v6 + 7), *((_DWORD *)v6 + 8)); else v3 = sub_8EB250(*((_DWORD *)v6 + 4), *((_DWORD *)v6 + 15)); v7[4] = v3; if ( sub_8EB250(v7[4], 2) ) { v7[3] = TIFFmalloc(2 * v7[4]); if ( v7[3] ) return 1; } TIFFErrorExt(a1[157], (int)"LogL16InitState", "No space for SGILog translation buffer"); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source