// // DSO_ctrl from 0x9f7fd8 to 0x9f80a0 (200 bytes) // // 3 xrefs: // > DSO_load @ 0x9f8344 // > sub_AC8090 @ 0xac8670 // > @ 0x7aa7c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:07:33 +0000 // 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; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source