// // sub_7C9604 from 0x7c9604 to 0x7c96bc (184 bytes) // // 5 xrefs: // > sub_7C9604 @ 0x7c9678 // > sub_7C96C0 @ 0x7c9a54 // > sub_7C96C0 @ 0x7c9a80 // > ASN1_item_ex_new @ 0x7c9e44 // > ASN1_item_ex_new @ 0x7c9eac // // 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_7C9604(_DWORD *result, int a2) { int v2; // r3 int (*v3)(void); // r3 _DWORD *v4; // r2 int v5; // r3 while ( 2 ) { switch ( *(_BYTE *)a2 ) { case 0: v4 = *(_DWORD **)(a2 + 8); if ( v4 ) { if ( (*v4 & 0x306) != 0 ) goto LABEL_4; a2 = v4[4]; continue; } v5 = *(_DWORD *)(a2 + 16); if ( v5 ) goto LABEL_9; if ( *(_DWORD *)(a2 + 4) != 1 ) goto LABEL_4; *result = *(_DWORD *)(a2 + 20); return result; case 1: case 2: case 6: goto LABEL_4; case 4: v2 = *(_DWORD *)(a2 + 16); if ( !v2 ) goto LABEL_4; v3 = *(int (**)(void))(v2 + 12); if ( !v3 ) goto LABEL_4; return (_DWORD *)v3(); case 5: v5 = *(_DWORD *)(a2 + 16); if ( !v5 ) goto LABEL_4; LABEL_9: v3 = *(int (**)(void))(v5 + 16); if ( v3 ) return (_DWORD *)v3(); LABEL_4: *result = 0; return result; default: return result; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source