// // sub_1051AFC from 0x1051afc to 0x1051b74 (120 bytes) // // 2 xrefs: // > @ 0x140dec8 // > @ 0x140df28 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:39 +0000 // __int64 __fastcall sub_1051AFC(unsigned int a1, __int64 *a2) { bool v3; // zf __int64 result; // x0 __int64 v5; // x0 if ( a1 ) { v3 = a1 == 2; result = 1; if ( v3 ) { RSA_free(*a2); *a2 = 0; return a1; } } else { v5 = RSA_new(); *a2 = v5; if ( v5 ) return 2; else return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source