// // sub_14049BF70 from 0x14049bf70 to 0x14049c201 (657 bytes) // // 4 xrefs: // > SongInfoObject::getArtistLinks @ 0x140496e17 // > SongInfoObject::getArtistLinks @ 0x140496eb9 // > SongInfoObject::getArtistLinks @ 0x140496eec // > @ 0x140929198 // // 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 // // Hidden C++ exception states: #wind=3 __int64 __fastcall sub_14049BF70(char **a1, _DWORD *a2, unsigned __int64 a3) { unsigned __int64 v3; // r14 _DWORD *v4; // r15 char *v6; // rsi __int64 result; // rax char *v8; // rbx __int64 v9; // rdi char *v10; // rbx unsigned __int64 v11; // r13 size_t *v12; // rdi void **v13; // rbp void *v14; // rdx _QWORD *v15; // rdx unsigned __int64 v16; // r14 __int64 v17; // rdi char *v18; // rbp size_t *v19; // rbx void **v20; // rdi void *v21; // rdx _QWORD *v22; // rdx char *v23; // rdi __int64 v24; // rbx v3 = a3; v4 = a2; v6 = *a1; if ( a3 <= (a1[2] - *a1) / 72 ) { v10 = a1[1]; result = (unsigned __int64)((unsigned __int128)((v10 - v6) * (__int128)0xE38E38E38E38E39LL) >> 64) >> 63; v11 = (v10 - v6) / 72; if ( a3 <= v11 ) { result = 9 * a3; v18 = &v6[72 * a3]; if ( a3 ) { v19 = (size_t *)(a2 + 2); v20 = (void **)(v6 + 8); do { *(_DWORD *)v6 = *((_DWORD *)v19 - 2); result = *((unsigned int *)v19 - 1); *((_DWORD *)v20 - 1) = result; if ( v20 != (void **)v19 ) { v21 = v19; if ( v19[3] > 0xF ) v21 = (void *)*v19; result = (__int64)sub_1400405A0(v20, v21, v19[2]); } v22 = v19 + 4; if ( v20 + 4 != (void **)(v19 + 4) ) { if ( v19[7] > 0xF ) v22 = (_QWORD *)*v22; result = (__int64)sub_1400405A0(v20 + 4, v22, v19[6]); } v6 += 72; v20 += 9; v19 += 9; --v3; } while ( v3 ); } v23 = a1[1]; if ( v18 != v23 ) { v24 = (__int64)(v18 + 8); do { sub_14003D310(v24 + 32); sub_14003D310(v24); v24 += 72; result = v24 - 8; } while ( (char *)(v24 - 8) != v23 ); } a1[1] = v18; } else { if ( v6 != v10 ) { v12 = (size_t *)(a2 + 2); v13 = (void **)(v6 + 8); do { *(_DWORD *)v6 = *v4; result = *((unsigned int *)v12 - 1); *((_DWORD *)v13 - 1) = result; if ( v13 != (void **)v12 ) { v14 = v12; if ( v12[3] > 0xF ) v14 = (void *)*v12; result = (__int64)sub_1400405A0(v13, v14, v12[2]); } v15 = v12 + 4; if ( v13 + 4 != (void **)(v12 + 4) ) { if ( v12[7] > 0xF ) v15 = (_QWORD *)*v15; result = (__int64)sub_1400405A0(v13 + 4, v15, v12[6]); } v6 += 72; v13 += 9; v4 += 18; v12 += 9; v10 = a1[1]; } while ( v6 != v10 ); } v16 = v3 - v11; if ( v16 ) { v17 = (__int64)(v4 + 2); do { *(_DWORD *)v10 = *(_DWORD *)(v17 - 8); *((_DWORD *)v10 + 1) = *(_DWORD *)(v17 - 4); sub_14003F4F0((__int64)(v10 + 8), v17); result = sub_14003F4F0((__int64)(v10 + 40), v17 + 32); v10 += 72; v17 += 72; --v16; } while ( v16 ); } a1[1] = v10; } } else { result = (__int64)sub_140123000(a1, a3); v8 = *a1; if ( v3 ) { v9 = (__int64)(v4 + 2); do { *(_DWORD *)v8 = *(_DWORD *)(v9 - 8); *((_DWORD *)v8 + 1) = *(_DWORD *)(v9 - 4); sub_14003F4F0((__int64)(v8 + 8), v9); result = sub_14003F4F0((__int64)(v8 + 40), v9 + 32); v8 += 72; v9 += 72; --v3; } while ( v3 ); } a1[1] = v8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source