// // sub_14049D830 from 0x14049d830 to 0x14049d9e3 (435 bytes) // // 2 xrefs: // > NewsPopup::rebuildPage @ 0x14049ef97 // > @ 0x140929390 // // 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 11:32:55 +0000 // void __fastcall sub_14049D830(__int64 *a1, __int64 a2, __int64 *a3) { __int64 *v4; // rbx unsigned __int64 v5; // rdi unsigned __int64 v6; // rdx __int64 v7; // rsi __int64 v8; // r8 __int64 v9; // r9 __int64 v10; // rbp unsigned __int64 v11; // rcx size_t v12; // r8 size_t v13; // rcx __int64 *v14; // rax __int64 v15; // rcx void *v16; // rcx void *v17; // rcx void *Block[2]; // [rsp+38h] [rbp-50h] BYREF __int64 v19; // [rsp+48h] [rbp-40h] unsigned __int64 v20; // [rsp+50h] [rbp-38h] v4 = a1; v5 = 0; if ( (unsigned __int64)a1[3] > 0xF ) a1 = (__int64 *)*a1; v7 = sub_140045BF0((__int64)a1, v4[2], 0, (unsigned __int8 *)Delimiter, 1); v10 = v4[2]; while ( 1 ) { *(_OWORD *)Block = 0; v19 = 0; v20 = 0; v11 = v4[2]; if ( v11 < v5 ) sub_14003F4D0(v11, v6, v8, v9); v12 = v7 - v5; v13 = v11 - v5; if ( v13 < v7 - v5 ) v12 = v13; v14 = v4; if ( (unsigned __int64)v4[3] > 0xF ) v14 = (__int64 *)*v4; sub_14003D230(Block, (char *)v14 + v5, v12); if ( v19 || v5 != v10 ) sub_140075F50(a3, (__int64)Block); if ( v7 == -1 ) break; v5 = v7 + 1; v15 = (__int64)v4; if ( (unsigned __int64)v4[3] > 0xF ) v15 = *v4; v7 = sub_140045BF0(v15, v4[2], v7 + 1, (unsigned __int8 *)Delimiter, 1); v6 = v20; if ( v20 > 0xF ) { v16 = Block[0]; if ( v20 + 1 >= 0x1000 ) { v16 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v16 - 8) > 0x1F ) goto LABEL_22; } j_j_free(v16); } } if ( v20 > 0xF ) { v17 = Block[0]; if ( v20 + 1 >= 0x1000 ) { v17 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v17 - 8) > 0x1F ) LABEL_22: invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v17); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source