// // sub_14026B740 from 0x14026b740 to 0x14026b984 (580 bytes) // // 6 xrefs: // > GJEffectManager::prepareMoveActions @ 0x14025ff77 // > @ 0x140686200 // > @ 0x14068625c // > @ 0x14068626c // > @ 0x140686280 // > @ 0x1406d08f0 // // 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 // _DWORD *__fastcall sub_14026B740(_QWORD *a1, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5) { _QWORD *v5; // r10 _DWORD *v6; // rbx __int64 v7; // rdx __int64 v10; // rcx __int64 v12; // r14 unsigned __int64 v13; // r15 unsigned __int64 v14; // rdx unsigned __int64 v15; // rcx __int64 v16; // r13 _QWORD *v17; // rsi _DWORD *v18; // r14 _DWORD *v19; // r8 _DWORD *v20; // rcx _QWORD *v21; // rdx int v22; // eax _QWORD *v23; // rdx int v24; // eax _DWORD *v25; // rdx _DWORD *v26; // rcx int v27; // eax _QWORD *v28; // r8 v5 = (_QWORD *)*a1; v6 = a2; v7 = (__int64)a2 - *a1; v10 = a1[1] - *a1; v12 = v7 / 12; if ( v10 / 12 == 0x1555555555555555LL ) sub_140062A20(v10, 0x1555555555555555LL); v13 = v10 / 12 + 1; v14 = (a1[2] - (_QWORD)v5) / 12LL; if ( v14 <= 0x1555555555555555LL - (v14 >> 1) ) { v15 = v10 / 12 + 1; if ( (v14 >> 1) + v14 >= v13 ) v15 = (v14 >> 1) + v14; if ( v15 > 0x1555555555555555LL ) sub_140007AB0(v15, v14, 0x1555555555555555LL); } else { v15 = 0x1555555555555555LL; } v16 = 12 * v15; v17 = sub_14003AA10(12 * v15); v18 = (_DWORD *)v17 + 3 * v12; *v18 = *a5; v18[1] = *a4; v18[2] = *a3; v19 = (_DWORD *)a1[1]; v20 = (_DWORD *)*a1; if ( v6 == v19 ) { if ( v20 != v19 ) { v21 = v17 + 1; do { *((_DWORD *)v21 - 2) = *v20; v21 = (_QWORD *)((char *)v21 + 12); *((_DWORD *)v21 - 4) = v20[1]; v22 = v20[2]; v20 += 3; *((_DWORD *)v21 - 3) = v22; } while ( v20 != v19 ); } } else { if ( v20 != v6 ) { v23 = v17 + 1; do { *((_DWORD *)v23 - 2) = *v20; v23 = (_QWORD *)((char *)v23 + 12); *((_DWORD *)v23 - 4) = v20[1]; v24 = v20[2]; v20 += 3; *((_DWORD *)v23 - 3) = v24; } while ( v20 != v6 ); } v25 = (_DWORD *)a1[1]; if ( v6 != v25 ) { v26 = v18 + 5; do { *(v26 - 2) = *v6; v26 += 3; *(v26 - 4) = v6[1]; v27 = v6[2]; v6 += 3; *(v26 - 3) = v27; } while ( v6 != v25 ); } } v28 = (_QWORD *)*a1; if ( *a1 ) { if ( (unsigned __int64)(12 * ((a1[2] - (_QWORD)v28) / 12LL)) >= 0x1000 ) { if ( (unsigned __int64)v28 - *(v28 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v28 = (_QWORD *)*(v28 - 1); } j_j_free(v28); } *a1 = v17; a1[1] = (char *)v17 + 12 * v13; a1[2] = (char *)v17 + v16; return v18; }
GD Web Decomp Icon

GD Web Decomp

Raw Source