// // sub_77F8D0 from 0x77f8d0 to 0x77f96e (158 bytes) // // 2 xrefs: // > sub_77D960 @ 0x77d9da // > sub_77D87C @ 0x77da96 // // 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 // _DWORD *__fastcall sub_77F8D0(_DWORD *a1) { _BYTE *v1; // r3 _BYTE *v3; // r2 int v4; // r1 int v6; // r5 int v7; // r3 _DWORD *v8; // r2 _BYTE *v9; // r5 int v10; // r3 int v11; // r1 int v12; // r3 _DWORD *v13; // r0 v1 = (_BYTE *)a1[3]; if ( *v1 != 70 ) return nullptr; v3 = v1 + 1; a1[3] = v1 + 1; v4 = (unsigned __int8)v1[1]; if ( v4 == 89 ) { v3 = v1 + 2; a1[3] = v1 + 2; if ( v1[2] != 74 ) goto LABEL_5; LABEL_17: a1[3] = v3 + 1; goto LABEL_5; } if ( v4 == 74 ) goto LABEL_17; LABEL_5: v6 = sub_77D87C((int)a1); if ( v6 && (v7 = sub_77E710(a1)) != 0 ) v8 = sub_77BD98(a1, 41, v6, v7); else v8 = nullptr; v9 = (_BYTE *)a1[3]; v10 = (unsigned __int8)*v9; if ( v10 == 79 ) { if ( *v9 != 82 ) { v11 = 32; v12 = a1[12] + 3; goto LABEL_14; } LABEL_18: v11 = 31; v12 = a1[12] + 2; LABEL_14: a1[12] = v12; a1[3] = v9 + 1; v13 = sub_77BD98(a1, v11, (int)v8, 0); v9 = (_BYTE *)a1[3]; v8 = v13; if ( *v9 == 69 ) goto LABEL_11; return nullptr; } if ( *v9 == 82 ) goto LABEL_18; if ( v10 != 69 ) return nullptr; LABEL_11: a1[3] = v9 + 1; return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source