// // sub_100581580 from 0x100581580 to 0x10058165c (220 bytes) // // 1 xrefs: // > sub_10055CD64 @ 0x10055eda4 // // 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_100581580(size_t a1, _QWORD *a2) { __int64 v4; // x21 __int64 v5; // x0 __int64 *v6; // x8 __int64 v7; // x8 __int64 v8; // x8 __int64 v9; // x21 const char *v10; // x11 if ( !a1 ) return 0; v4 = sub_10056F4F0(*(_QWORD *)(a1 + 96)); v5 = sub_10056F504(*(_QWORD *)(a1 + 96)); v6 = (__int64 *)a2[116]; if ( v6 && (v7 = *v6) != 0 ) { v8 = *(_QWORD *)(*(_QWORD *)v7 + 120LL); v9 = (v4 > 0) & (unsigned __int8)(v8 > v4); } else { v9 = 0; v8 = -2; } if ( v5 >= 1 ) v9 = (unsigned int)v9 | (a2[5] > v5); v10 = "FALSE"; if ( (_DWORD)v9 ) v10 = "TRUE"; sub_1005524A4(a1, "Conn: %ld (%p) Receive pipe weight: (%ld/%zu), penalized: %s\n", a2[10], a2, v8, a2[5], v10); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source