// // sub_83B3C from 0x83b3c to 0x83c0c (208 bytes) // // 1 xrefs: // > @ 0x10d5a8 // // 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_83B3C(__int64 a1, __int64 a2, __int64 a3, _DWORD *a4) { __int64 v4; // x21 __int64 v5; // x0 __int64 v6; // x1 unsigned int v7; // w2 unsigned int *v8; // x3 __int64 v9; // x22 unsigned int *v10; // x19 unsigned int v11; // w20 __int64 v12; // x0 __int64 v13; // x23 unsigned int v14; // w24 __int64 result; // x0 __int64 v16; // x3 unsigned int v17; // w8 int v18; // [xsp+Ch] [xbp-34h] BYREF *a4 = 0; if ( !*(_QWORD *)(a1 + 408) ) return 28; v5 = sub_83C98(); if ( !v5 ) return 13; v9 = v6; v10 = v8; v11 = v7; v12 = sub_64000(v5, 0xAu); if ( !v12 ) return 13; v13 = v12; v14 = 0; result = 13; while ( v11 ) { v18 = 0; if ( v11 >= 0x10000 ) v16 = 0x10000; else v16 = v11; v17 = ((__int64 (__fastcall *)(__int64, _QWORD, __int64, __int64, _QWORD, int *))loc_84AAC)( v13, *(_QWORD *)(v4 + 504), v9 + v14, v16, *(unsigned int *)(v4 + 496), &v18); result = 0; v11 -= v18; v14 += v18; *(_DWORD *)(v4 + 496) += v18; if ( v17 ) { result = v17; break; } } *v10 = v14; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source