// // sub_8E5900 from 0x8e5900 to 0x8e5a1c (284 bytes) // // 4 xrefs: // > sub_8E5A20 @ 0x8e5bec // > sub_8E5A20 @ 0x8e5c48 // > sub_8E5A20 @ 0x8e5ce8 // > sub_8E5A20 @ 0x8e5fc0 // // 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:10 +0000 // bool __fastcall sub_8E5900(_DWORD *a1) { unsigned int v1; // r3 int v2; // r3 int v4; // r4 int v5; // r0 v1 = *((unsigned __int16 *)a1 + 16); if ( v1 > 6 ) return 1; v2 = 1 << v1; if ( (v2 & 0x64) != 0 ) { if ( *((_WORD *)a1 + 12) == 8 ) return 1; return sub_8E4BA0(a1) != 0; } if ( (v2 & 8) == 0 ) { if ( (v2 & 3) == 0 ) return 1; return sub_8E4BA0(a1) != 0; } if ( sub_8E4DA8((int)a1) == 16 ) { sub_8E4EBC((int)a1); } else { v4 = *(_DWORD *)(*a1 + 628); v5 = TIFFFileName(*a1); TIFFWarningExt(v4, v5, "Assuming 8-bit colormap"); } return *((unsigned __int16 *)a1 + 12) > 8u || sub_8E4FC0(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source