// // sub_8D5C78 from 0x8d5c78 to 0x8d5db0 (312 bytes) // // 3 xrefs: // > sub_8D66B4 @ 0x8d6924 // > sub_8D66B4 @ 0x8d6928 // > @ 0x8d69a8 // // 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_8D5C78(int result) { _BYTE *v1; // r3 _DWORD *v2; // [sp+4h] [bp-18h] _DWORD *v3; // [sp+8h] [bp-14h] unsigned int v4; // [sp+Ch] [bp-10h] unsigned int v5; // [sp+10h] [bp-Ch] int i; // [sp+14h] [bp-8h] v2 = (_DWORD *)result; if ( (*(_DWORD *)(*(_DWORD *)(result + 576) + 4) & 1) == 0 ) { v3 = *(_DWORD **)(result + 576); v4 = 1; v5 = 12; if ( (v3[7] & 1) != 0 ) { v4 = (v3[19] == 0) | 2; v5 = 13; } for ( i = 0; i <= 5; ++i ) result = sub_8D3E3C((int)v2, v4, v5); if ( v2[152] >= v2[148] ) result = TIFFFlushData1(v2); v1 = (_BYTE *)v2[151]; *v1 = v3[12]; v2[151] = v1 + 1; ++v2[152]; v3[12] = 0; v3[13] = 8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source