//
// X509V3_section_free from 0x8544d8 to 0x8544f8 (32 bytes)
//
// 17 xrefs:
// > a2i_GENERAL_NAME @ 0x850e7c
// > a2i_GENERAL_NAME @ 0x851030
// > sub_854B10 @ 0x854da4
// > sub_854B10 @ 0x855004
// > sub_854B10 @ 0x85514c
// > sub_854B10 @ 0x8551f0
// > sub_856070 @ 0x8562f8
// > sub_856070 @ 0x8563c8
// > sub_856070 @ 0x85644c
// > sub_856070 @ 0x8564e0
// > sub_856070 @ 0x856538
// > sub_8566F0 @ 0x8568f8
// > sub_8566F0 @ 0x8569f0
// > sub_858D9C @ 0x858e8c
// > sub_858D9C @ 0x858ee0
// > sub_864F7C @ 0x8651e4
// > ??> @ 0x688cc
//
// 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 X509V3_section_free(int result, int a2)
{
int (__fastcall *v2)(_DWORD); // r3
if ( a2 )
{
v2 = *(int (__fastcall **)(_DWORD))(*(_DWORD *)(result + 20) + 12);
if ( v2 )
return v2(*(_DWORD *)(result + 24));
}
return result;
}