// // sub_1800BDAA0 from 0x1800bdaa0 to 0x1800bdb52 (178 bytes) // // 2 xrefs: // > sub_1800E8470 @ 0x1800e84c8 // > @ 0x1801fd7b8 // // This function is hookable on this platform (idp: pc, 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 10:54:02 +0000 // __int64 __fastcall sub_1800BDAA0(__int64 a1, __int64 a2) { unsigned int (__fastcall *v2)(__int64, __int64, int *); // rax int v6; // r8d __int64 v7; // rax int v8; // ecx int v9; // [rsp+30h] [rbp+8h] BYREF v2 = *(unsigned int (__fastcall **)(__int64, __int64, int *))(a1 + 1016); if ( !v2 ) return 66; if ( *(_DWORD *)(a2 + 36) && !*(_BYTE *)(a2 + 49) ) { v9 = 0; if ( v2(a1 + 8, a2, &v9) ) { LABEL_15: *(_BYTE *)(a2 + 49) = 1; return 0; } v6 = v9 - *(_DWORD *)(a2 + 20); if ( v6 < 0 && (v6 += *(_DWORD *)(a2 + 36), v6 < 0) || v6 > *(_DWORD *)(a2 + 36) ) v6 = 0; v7 = *(_QWORD *)(a2 + 72); if ( v7 ) { v8 = *(_DWORD *)(v7 + 648); if ( v6 < 3 * v8 ) return 0; v6 -= v8 + v6 % v8; } else if ( !v6 ) { return 0; } if ( (unsigned int)sub_1800BCE10(a1, a2, v6) ) goto LABEL_15; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source