// // sub_1006E5AA0 from 0x1006e5aa0 to 0x1006e5c00 (352 bytes) // // 5 xrefs: // > sub_100644CC4 @ 0x100645618 // > sub_10064B5D0 @ 0x10064b840 // > sub_10064D160 @ 0x10064d294 // > sub_10064DCB8 @ 0x10064de08 // > sub_1006E95B4 @ 0x1006e9634 // // 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 11:12:35 +0000 // __int64 __fastcall sub_1006E5AA0(__int64 a1) { _BYTE *v2; // x22 void **v3; // x19 _BYTE *v4; // x21 void *v5; // x24 __int64 v6; // x23 if ( !a1 || !*(_QWORD *)(a1 + 8) ) { sub_100706FB0(16, 179, 67, "ec_key.c", 243); return 0; } v2 = sub_1006D0E9C(); if ( !v2 ) return 0; v3 = (void **)sub_1006D1C30(); if ( v3 ) { v4 = *(_BYTE **)(a1 + 24); if ( v4 || (v4 = sub_1006D0E9C()) != nullptr ) { if ( sub_1006DDD4C(*(_QWORD *)(a1 + 8), (__int64)v2) ) { while ( (unsigned int)sub_1006D4140((__int64)v4, (__int64)v2) ) { if ( *((_DWORD *)v4 + 2) ) { v5 = *(void **)(a1 + 16); if ( !v5 ) { v5 = sub_1006DD9A0(*(__int64 **)(a1 + 8)); if ( !v5 ) break; } if ( (unsigned int)sub_1006DEA5C(*(_QWORD *)(a1 + 8)) ) { *(_QWORD *)(a1 + 16) = v5; *(_QWORD *)(a1 + 24) = v4; v6 = 1; } else { v6 = 0; } sub_1006D0E38(v2); if ( !*(_QWORD *)(a1 + 16) ) sub_1006DD39C(v5); goto LABEL_22; } } } sub_1006D0E38(v2); v6 = 0; LABEL_22: if ( !*(_QWORD *)(a1 + 24) ) sub_1006D0E38(v4); goto LABEL_24; } } else { v3 = nullptr; } sub_1006D0E38(v2); v6 = 0; LABEL_24: if ( v3 ) sub_1006D1C94(v3); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source