// // sub_1005D02B4 from 0x1005d02b4 to 0x1005d045c (424 bytes) // // 1 xrefs: // > @ 0x10083aed8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1005D02B4(__int64 a1, __int64 a2, int *a3, __int64 a4) { __int64 *v7; // x0 __int64 *v8; // x19 __int64 v9; // x0 int v10; // w0 int v11; // w8 unsigned __int64 v12; // x22 _BOOL8 v13; // x20 __int64 v14; // x0 int v15; // w0 int v16; // w8 unsigned __int64 v17; // x8 _BYTE *v18; // x22 __int64 v20; // [xsp+8h] [xbp-28h] BYREF if ( !a3 ) return (int)sub_1005DA834(a1, "\n") > 0; v20 = *((_QWORD *)a3 + 1); v7 = (__int64 *)sub_1005CED74(0, (__int64)&v20, *a3); v8 = v7; if ( !v7 ) return sub_1005F4BD0(a1, a3, a4); v9 = *v7; if ( *v8 ) { v10 = sub_1005AAC20(v9); v11 = v10 + 7; if ( v10 + 7 < 0 ) v11 = v10 + 14; v12 = v11 >> 3; } else { v12 = 0; } v14 = v8[1]; if ( v14 ) { v15 = sub_1005AAC20(v14); v16 = v15 + 7; if ( v15 + 7 < 0 ) v16 = v15 + 14; v17 = v16 >> 3; if ( v12 < v17 ) LODWORD(v12) = v17; } v18 = sub_100588710((unsigned int)(v12 + 10), (__int64)"dsa_ameth.c", 548); if ( v18 ) { if ( (unsigned int)sub_1005DA72C(a1, "\n", 1) == 1 ) { if ( (unsigned int)sub_1005F5388(a1, "r: ", *v8, v18, a4) ) v13 = (unsigned int)sub_1005F5388(a1, "s: ", v8[1], v18, a4) != 0; else v13 = 0; } else { v13 = 0; } sub_100588C44(v18); } else { sub_1005E0E48(10, 125, 65, "dsa_ameth.c", 550); v13 = 0; } sub_1005CF084(v8); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source