// // GJEffectManager::getMoveCommandNode from 0x1002ccf00 to 0x1002cd061 (353 bytes) // // 4 xrefs: // > GJBaseGameLayer::processDynamicObjectActions @ 0x100122d70 // > GJEffectManager::createKeyframeCommand @ 0x1002cba85 // > GJEffectManager::prepareMoveActions @ 0x1002d1069 // > GJEffectManager::prepareMoveActions @ 0x1002d1232 // // 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 12:28:11 +0000 // void *__fastcall GJEffectManager::getMoveCommandNode(_QWORD *a1) { __int64 v1; // rax void *v2; // r13 char *v3; // r15 unsigned __int64 v4; // rax __int64 v5; // r14 _BYTE *v6; // rsi signed __int64 v7; // r15 __int64 v8; // r14 __int64 v9; // rax unsigned __int64 v10; // r12 _QWORD *v11; // r13 void *v13; // [rsp+10h] [rbp-30h] v1 = a1[149]; if ( a1[148] == v1 ) { v2 = operator new(0x208u); sub_1004E7A00(v2); } else { v2 = *(void **)(v1 - 8); a1[149] = v1 - 8; } v3 = (char *)a1[146]; v4 = a1[147]; if ( (unsigned __int64)v3 >= v4 ) { v6 = (_BYTE *)a1[145]; v7 = v3 - v6; v8 = v7 >> 3; if ( (unsigned __int64)((v7 >> 3) + 1) >> 61 ) sub_10014E580(); v9 = v4 - (_QWORD)v6; v10 = v9 >> 2; if ( v9 >> 2 <= (unsigned __int64)((v7 >> 3) + 1) ) v10 = (v7 >> 3) + 1; if ( (unsigned __int64)v9 >= 0x7FFFFFFFFFFFFFF8LL ) v10 = 0x1FFFFFFFFFFFFFFFLL; v13 = v2; if ( v10 ) { if ( v10 > 0x1FFFFFFFFFFFFFFFLL ) sub_10001ADB0(); v11 = operator new(8 * v10); } else { v11 = nullptr; } v11[v8] = v13; v5 = (__int64)&v11[v8 + 1]; memcpy(v11, v6, v7); a1[145] = v11; a1[146] = v5; a1[147] = &v11[v10]; if ( v6 ) operator delete(v6); v2 = v13; } else { *(_QWORD *)v3 = v2; v5 = (__int64)(v3 + 8); } a1[146] = v5; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source