// // sub_14026B310 from 0x14026b310 to 0x14026b5c4 (692 bytes) // // 7 xrefs: // > GJBaseGameLayer::triggerTransformCommand @ 0x14021f66a // > GJEffectManager::createMoveCommand @ 0x14025c7ca // > GJEffectManager::createRotateCommand @ 0x14025ca01 // > GJEffectManager::createFollowCommand @ 0x14025cb33 // > GJEffectManager::createPlayerFollowCommand @ 0x14025cc41 // > GJEffectManager::createKeyframeCommand @ 0x14025cde4 // > @ 0x1406d08d8 // // 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=1 #try_helpers=1 GroupCommandObject2 *__fastcall sub_14026B310(_QWORD *a1, _QWORD *a2) { _QWORD *v2; // rdi _QWORD *v4; // r8 __int64 v5; // rbx __int64 v6; // rcx __int64 v7; // rdx unsigned __int64 v8; // r9 unsigned __int64 v9; // rdx unsigned __int64 v10; // rcx _QWORD *v11; // r12 GroupCommandObject2 *v12; // r13 GroupCommandObject2 *v13; // rsi _QWORD *v14; // r14 _QWORD *v15; // rbx _QWORD *v16; // rdi _QWORD *v17; // r14 _QWORD *v18; // rbx _QWORD *v19; // rbx _QWORD *i; // rdi _QWORD *v21; // r8 __int64 v23; // [rsp+A0h] [rbp+18h] __int64 v24; // [rsp+A8h] [rbp+20h] v2 = a2; v4 = (_QWORD *)*a1; v5 = ((__int64)a2 - *a1) / 520; v6 = a1[1] - *a1; v7 = v6 / 520; if ( v6 / 520 == 0x7E07E07E07E07ELL ) sub_140062A20(v6, 0x7E07E07E07E07ELL); v8 = v7 + 1; v23 = v7 + 1; v9 = (a1[2] - (_QWORD)v4) / 520LL; if ( v9 <= 0x7E07E07E07E07ELL - (v9 >> 1) ) { v10 = v8; if ( (v9 >> 1) + v9 >= v8 ) v10 = (v9 >> 1) + v9; if ( v10 > 0x7E07E07E07E07ELL ) sub_140007AB0(v10, v9, v4); } else { v10 = 0x7E07E07E07E07ELL; } v24 = 65 * v10; v11 = sub_14003AA10(520 * v10); v12 = (GroupCommandObject2 *)&v11[65 * v5]; v13 = v12 + 1; GroupCommandObject2::GroupCommandObject2(v12); v14 = (_QWORD *)a1[1]; v15 = (_QWORD *)*a1; if ( v2 == v14 ) { v16 = v11; while ( v15 != v14 ) { sub_14026FA80(v16, v15); v16 += 65; v15 += 65; } } else { v17 = v11; while ( v15 != v2 ) { sub_14026FFB0(v17, v15); v17 += 65; v15 += 65; } v18 = (_QWORD *)a1[1]; while ( v2 != v18 ) { sub_14026FFB0(v13++, v2); v2 += 65; } } v19 = (_QWORD *)*a1; if ( *a1 ) { for ( i = (_QWORD *)a1[1]; v19 != i; v19 += 65 ) { sub_14005E430((__int64)(v19 + 61)); sub_140257B50(v19 + 55); } v21 = (_QWORD *)*a1; if ( (unsigned __int64)(520 * ((a1[2] - *a1) / 520LL)) >= 0x1000 ) { if ( (unsigned __int64)v21 - *(v21 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v21 = (_QWORD *)*(v21 - 1); } j_j_free(v21); } *a1 = v11; a1[1] = &v11[65 * v23]; a1[2] = &v11[v24]; return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source