// // sub_10058D4 from 0x10058d4 to 0x100594c (120 bytes) // // 1 xrefs: // > @ 0x13ffe48 // // 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:15:56 +0000 // __int64 __fastcall sub_10058D4(unsigned int a1, __int64 *a2) { bool v3; // zf __int64 result; // x0 __int64 v5; // x0 if ( a1 ) { v3 = a1 == 2; result = 1; if ( v3 ) { DH_free(*a2); *a2 = 0; return a1; } } else { v5 = DH_new(); *a2 = v5; if ( v5 ) return 2; else return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source