// // DSO_ctrl from 0x7e33d8 to 0x7e34a0 (200 bytes) // // 3 xrefs: // > DSO_load @ 0x7e3744 // > sub_8B3090 @ 0x8b3670 // > @ 0x60ffc // // 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 DSO_ctrl(_DWORD *a1, int a2, int a3) { int (*v4)(void); // r12 if ( a1 ) { switch ( a2 ) { case 2: a1[3] = a3; return 0; case 3: a1[3] |= a3; return 0; case 1: return a1[3]; default: if ( *a1 && (v4 = *(int (**)(void))(*a1 + 16)) != nullptr ) { return v4(); } else { ERR_put_error(37, 110, 108, "crypto/dso/dso_lib.c", 224); return -1; } } } else { ERR_put_error(37, 110, 67, "crypto/dso/dso_lib.c", 204); return -1; } }