// // sub_1006DDB50 from 0x1006ddb50 to 0x1006ddc88 (312 bytes) // // 3 xrefs: // > sub_1006E3150 @ 0x1006e33c0 // > sub_1006E3A3C @ 0x1006e41dc // > sub_10074B224 @ 0x10074b3bc // // 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:32 +0000 // __int64 __fastcall sub_1006DDB50(__int64 *a1, _QWORD *a2, __int64 a3, __int64 a4) { _QWORD *v8; // x0 unsigned int (__fastcall *v9)(_QWORD *, _QWORD *); // x8 __int64 v10; // x1 __int64 v11; // x2 __int64 v12; // x4 __int64 v14; // x0 __int64 v15; // x0 if ( !a2 ) { v10 = 111; v11 = 67; v12 = 297; goto LABEL_9; } v8 = (_QWORD *)a1[1]; if ( !v8 ) { v8 = sub_1006DD9A0(a1); a1[1] = (__int64)v8; if ( !v8 ) return 0; } v9 = *(unsigned int (__fastcall **)(_QWORD *, _QWORD *))(*v8 + 96LL); if ( !v9 ) { v10 = 114; v11 = 66; v12 = 757; goto LABEL_9; } if ( *v8 != *a2 ) { v10 = 114; v11 = 101; v12 = 761; LABEL_9: sub_100706FB0(16, v10, v11, "ec_lib.c", v12); return 0; } if ( v8 != a2 && !v9(v8, a2) ) return 0; v14 = (__int64)(a1 + 2); if ( a3 ) { if ( !sub_1006D1164(v14, a3) ) return 0; } else { sub_1006D1290(v14, 0); } v15 = (__int64)(a1 + 5); if ( a4 ) { if ( !sub_1006D1164(v15, a4) ) return 0; } else { sub_1006D1290(v15, 0); } sub_1006DDC88(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source