// // sub_8D4B04 from 0x8d4b04 to 0x8d4c7c (376 bytes) // // 3 xrefs: // > sub_8D66B4 @ 0x8d68d4 // > sub_8D66B4 @ 0x8d68d8 // > @ 0x8d6994 // // 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:06 +0000 // int __fastcall sub_8D4B04(int a1) { int v1; // r3 _DWORD *v4; // [sp+8h] [bp-Ch] float v5; // [sp+Ch] [bp-8h] v4 = *(_DWORD **)(a1 + 576); if ( !v4 ) _assert2(); v4[13] = 8; v4[12] = 0; v4[19] = 0; if ( v4[20] ) TIFFmemset(v4[20], 0, v4[2]); if ( (v4[7] & 1) != 0 ) { v5 = *(float *)(a1 + 120); if ( *(_WORD *)(a1 + 124) == 3 ) v5 = v5 * 2.54; if ( v5 <= 150.0 ) v1 = 2; else v1 = 4; v4[22] = v1; v4[21] = v4[22] - 1; } else { v4[22] = 0; v4[21] = v4[22]; } v4[23] = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source