// // sub_85C28 from 0x85c28 to 0x85ca6 (126 bytes) // // 1 xrefs: // > sub_853C0 @ 0x853c8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_85C28(int a1, int a2, int a3, int a4, int a5, _DWORD *a6) { int v6; // r2 int v7; // r2 unsigned __int16 *v8; // r2 int v9; // r1 bool v10; // zf v6 = a6[5]; if ( v6 == 15 ) { v8 = (unsigned __int16 *)a6[95]; *(_DWORD *)(a1 + 380) = v8; v9 = *v8; v10 = v9 == 105; if ( v9 != 105 ) v10 = v9 == 17; if ( v10 ) { *(_DWORD *)(a1 + 332) = v8[6]; *(_DWORD *)(a1 + 324) = v8[9]; } if ( (*(_BYTE *)(a1 + 209) & 2) == 0 || (v9 | 2) == 3 ) return 0; return 19; } if ( v6 != 5 ) return 19; v7 = 0; *(_DWORD *)(a1 + 332) = 0; *(_WORD *)(a1 + 340) = 1; *(_DWORD *)(a1 + 380) = a1 + 340; if ( *(_DWORD *)(a6[56] + 36) == 7 ) { *(_WORD *)(a1 + 340) = 17; *(_DWORD *)(a1 + 324) = 64; *(_DWORD *)(a1 + 332) = 36 * a2; return 0; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source