// // sub_97C38 from 0x97c38 to 0x97d14 (220 bytes) // // 1 xrefs: // > sub_96AB0 @ 0x96eb4 // // 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 // __int64 __fastcall sub_97C38(__int64 a1, __int64 a2, __int64 a3, _DWORD *a4) { __int64 v4; // x11 __int64 v5; // x8 __int64 v6; // x22 __int64 result; // x0 char v11; // w8 __int64 v12; // x9 __int64 v13; // x10 __int64 v14; // x8 v4 = 36; v5 = 13; if ( *(unsigned __int8 *)(a2 + 3) < 0xC0u ) v5 = 21; else v4 = 21; if ( (*(_BYTE *)(a2 + 1) & 8) != 0 ) v5 = v4; v6 = a2 + v5; if ( (unsigned int)sub_E3DA8(a2 + v5) ) return 19; v11 = *(_BYTE *)(v6 + 7); if ( (v11 & 1) != 0 ) { v12 = v6 + 12; if ( a4 ) { *a4 = bswap32(*(_DWORD *)(v6 + 8)); *(_BYTE *)(a1 + 572) = 1; } } else { v12 = v6 + 8; } result = 0; if ( a3 && (v11 & 4) != 0 ) { v13 = 0; if ( (v11 & 2) != 0 ) v14 = v12 + 4; else v14 = v12; while ( v13 != 100 ) { *(_BYTE *)(a3 + v13) = *(_BYTE *)(v14 + v13); ++v13; } *(_BYTE *)(a1 + 573) = 1; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source