// // sub_1006EB1C8 from 0x1006eb1c8 to 0x1006eb48c (708 bytes) // // 2 xrefs: // > sub_1006EBB94 @ 0x1006ebc28 // > sub_1006EBC2C @ 0x1006ebcc0 // // 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:38 +0000 // bool __fastcall sub_1006EB1C8(__int64 a1, _QWORD *a2, __int64 *a3, int a4, __int64 *a5) { void **v10; // x20 __int64 *v11; // x27 _QWORD *v12; // x24 __int64 *v13; // x25 int *v14; // x26 int v15; // w21 _BOOL8 v16; // x21 __int64 v17; // x0 __int64 v18; // x2 __int64 v19; // x4 sub_1007072C0(a1); if ( a5 ) { v10 = nullptr; } else { v10 = (void **)sub_1006D1C30(); a5 = (__int64 *)v10; if ( !v10 ) return 0; } sub_1006D1DF8((__int64)a5); v11 = sub_1006D1F64(a5); v12 = sub_1006D1F64(a5); v13 = sub_1006D1F64(a5); v14 = (int *)sub_1006D1F64(a5); if ( !v14 ) { v16 = 0; goto LABEL_30; } if ( !(unsigned int)sub_1006DA5BC((__int64)v12, a3, (int *)(a1 + 128)) ) { v16 = 0; goto LABEL_30; } if ( !*((_DWORD *)v12 + 2) ) { if ( !(unsigned int)sub_1006DB74C((__int64)v13, (__int64 *)(a1 + 176), (int *)(a1 + 128), a5) ) { v16 = 0; goto LABEL_30; } goto LABEL_29; } if ( !(*(unsigned int (__fastcall **)(__int64, __int64 *, _QWORD *, __int64 *))(*(_QWORD *)a1 + 264LL))( a1, v11, v12, a5) ) { v16 = 0; goto LABEL_30; } if ( !(*(unsigned int (__fastcall **)(__int64, __int64 *, __int64, __int64 *, __int64 *))(*(_QWORD *)a1 + 272LL))( a1, v11, a1 + 176, v11, a5) ) { v16 = 0; goto LABEL_30; } if ( !(unsigned int)sub_1006DA4AC((__int64)v11, (__int64 *)(a1 + 152), v11) ) { v16 = 0; goto LABEL_30; } if ( !(unsigned int)sub_1006DA4AC((__int64)v11, v12, v11) ) { v16 = 0; goto LABEL_30; } if ( !(unsigned int)sub_1006DB804((__int64)v14, v11, (int *)(a1 + 128), a5) ) { v17 = sub_1007075D4(); if ( (v17 & 0xFF000FFF) == 0x3000074 ) { sub_1007072C0(v17); v18 = 110; v19 = 141; } else { v18 = 3; v19 = 144; } sub_100706FB0(16, 164, v18, "ec2_oct.c", v19); v16 = 0; goto LABEL_30; } if ( v14[2] < 1 ) v15 = 0; else v15 = **(_BYTE **)v14 & 1; if ( (*(unsigned int (__fastcall **)(__int64, __int64 *, _QWORD *, int *, __int64 *))(*(_QWORD *)a1 + 256LL))( a1, v13, v12, v14, a5) ) { if ( ((a4 != 0) ^ v15) != 1 || (unsigned int)sub_1006DA4AC((__int64)v13, v13, v12) ) { LABEL_29: v16 = (unsigned int)sub_1006DE5E8(a1, a2) != 0; goto LABEL_30; } v16 = 0; } else { v16 = 0; } LABEL_30: sub_1006D1EE0((__int64)a5); if ( v10 ) sub_1006D1C94(v10); return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source