// // sub_1403BCBE0 from 0x1403bcbe0 to 0x1403bcdef (527 bytes) // // 3 xrefs: // > sub_1403B54D0 @ 0x1403b5f9a // > sub_1403B54D0 @ 0x1403b5fe1 // > @ 0x1406d7334 // // 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 // // Hidden C++ exception states: #wind=2 void __fastcall sub_1403BCBE0(void ****a1, _QWORD *a2, _QWORD *a3) { void **v6; // r14 void **v7; // rsi __int64 v8; // r15 void ***v9; // r14 __int64 v10; // rcx void ***v11; // r12 _QWORD *i; // rbx void **v13; // rsi __int64 v14; // rcx void ***v15; // rax __int64 v16; // rbp void **v17; // rbx void **v18; // rcx void **v19; // rax v6 = (void **)*a1; v7 = **a1; if ( v7 == (void **)*a1 ) { LABEL_6: v8 = 0; if ( a2 == a3 ) { v9 = nullptr; v11 = nullptr; } else { v9 = (void ***)operator new(0x30u); sub_1403BE2B0(v10, v9 + 2, a2 + 2); v11 = v9; v8 = 1; for ( i = (_QWORD *)*a2; i != a3; i = (_QWORD *)*i ) { v13 = (void **)operator new(0x30u); sub_1403BE2B0(v14, v13 + 2, i + 2); *v11 = v13; v13[1] = v11; v11 = (void ***)v13; ++v8; } } v18 = (void **)*a1; if ( v8 ) { v19 = (void **)v18[1]; v9[1] = v19; *v19 = v9; *v11 = v18; v18[1] = v11; a1[1] = (void ***)((char *)a1[1] + v8); } } else { while ( a2 != a3 ) { *((_DWORD *)v7 + 4) = *((_DWORD *)a2 + 4); if ( v7 + 3 != a2 + 3 ) sub_1403BC090((__int64)(v7 + 3), a2[3], (a2[4] - a2[3]) / 232LL); v7 = (void **)*v7; a2 = (_QWORD *)*a2; if ( v7 == v6 ) goto LABEL_6; } if ( v7 != v6 ) { v15 = (void ***)v7[1]; *v15 = v6; v6[1] = v15; v16 = 0; do { v17 = (void **)*v7; sub_14024BCB0(v7 + 3); j_j_free(v7); v7 = v17; ++v16; } while ( v17 != v6 ); a1[1] = (void ***)((char *)a1[1] - v16); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source