// // sub_140374630 from 0x140374630 to 0x1403747b2 (386 bytes) // // 2 xrefs: // > GJEffectManager::createKeyframeCommand @ 0x1403672bb // > @ 0x140921ff8 // // 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:31:00 +0000 // // Hidden C++ exception states: #wind=1 _QWORD *__fastcall sub_140374630(__int64 *a1, __int64 a2) { __int64 v4; // rbp __int64 v5; // rdx unsigned __int64 v6; // r15 unsigned __int64 v7; // rdx unsigned __int64 v8; // rcx unsigned __int64 v9; // rdi _QWORD *v10; // rsi _QWORD *v11; // rbp __int64 v12; // rcx __int64 v13; // rdx __int64 v14; // rcx v4 = (a2 - *a1) / 448; v5 = (a1[1] - *a1) / 448; if ( v5 == 0x92492492492492LL ) sub_14005A170(); v6 = v5 + 1; v7 = (a1[2] - *a1) / 448; v8 = v7 >> 1; if ( v7 <= 0x92492492492492LL - (v7 >> 1) ) { v9 = v6; if ( v8 + v7 >= v6 ) v9 = v8 + v7; if ( v9 > 0x92492492492492LL ) sub_140009CF0(v8, v7, 0x92492492492492LL); } else { v9 = 0x92492492492492LL; } v10 = sub_14003D460(448 * v9); v11 = &v10[56 * v4]; sub_140377070(v12, v11); v13 = a1[1]; v14 = *a1; if ( a2 == v13 ) { sub_140375FE0(v14, v13, v10, a1); } else { sub_140377220(v14, a2, v10, a1); sub_140377220(a2, a1[1], v11 + 56, a1); } sub_140376ED0(a1, v10, v6, v9); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source