// // sub_84E5EC from 0x84e5ec to 0x84e6ae (194 bytes) // // 1 xrefs: // > sub_83168C @ 0x8330f0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:02:29 +0000 // size_t __fastcall sub_84E5EC(size_t result, int a2) { size_t v2; // r10 __int64 v4; // r8 __int64 v5; // r2 int *v6; // r1 int v7; // r1 __int64 v8; // r6 _BOOL4 v9; // r1 __int64 v10; // r8 int v11; // r2 int v12; // r4 if ( result ) { v2 = result; v4 = sub_83FE50(*(_DWORD *)(result + 64)); v5 = sub_83FE70(*(_DWORD *)(v2 + 64)); v6 = *(int **)(a2 + 732); if ( v6 && (v7 = *v6) != 0 ) { v8 = *(_QWORD *)(*(_DWORD *)v7 + 80); v9 = v4 < v8; if ( v4 < 1 ) v9 = 0; if ( v9 ) { if ( v5 < 1 ) { v11 = *(_DWORD *)(a2 + 68); v10 = *(_QWORD *)(a2 + 40); goto LABEL_10; } v10 = *(_QWORD *)(a2 + 40); LABEL_9: v11 = *(_DWORD *)(a2 + 68); LABEL_10: v12 = 1; LABEL_11: sub_8280FC( v2, "Conn: %ld (%p) Receive pipe weight: (%lld/%zu), penalized: %s\n", v11, (const void *)a2, v8, (size_t)v10, (const char *)HIDWORD(v10)); return v12; } } else { v8 = -2; } if ( v5 < 1 ) { v12 = 0; v11 = *(_DWORD *)(a2 + 68); v10 = *(_QWORD *)(a2 + 40); goto LABEL_11; } v10 = *(_QWORD *)(a2 + 40); if ( v5 >= v10 ) { v12 = 0; v11 = *(_DWORD *)(a2 + 68); goto LABEL_11; } goto LABEL_9; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source