// // sub_140062380 from 0x140062380 to 0x140062534 (436 bytes) // // 17 xrefs: // > sub_140055B50 @ 0x140055bba // > sub_140055B50 @ 0x140055bfb // > sub_140055B50 @ 0x140055c42 // > sub_140055B50 @ 0x140055c89 // > sub_140055B50 @ 0x140055cd0 // > sub_140055B50 @ 0x140055d17 // > sub_140055B50 @ 0x140055d5e // > sub_140055B50 @ 0x140055da5 // > sub_140055B50 @ 0x140055dec // > sub_140055B50 @ 0x140055e33 // > GJEffectManager::saveToState @ 0x1402643dc // > GJEffectManager::loadFromState @ 0x1402649f1 // > sub_1402E1FD0 @ 0x1402e2033 // > sub_1403B54D0 @ 0x1403b5934 // > sub_1403B6D40 @ 0x1403b6d6c // > sub_1403B6D40 @ 0x1403b6dad // > @ 0x1406c5a24 // // 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_140062380(void ****a1, _QWORD *a2, _QWORD *a3) { void **v6; // rsi void **v7; // rcx __int64 v8; // r14 void ***v9; // rsi void ***v10; // r15 _QWORD *i; // rbx void **v12; // rax void ***v13; // rax __int64 v14; // rbp void **v15; // rbx void **v16; // rcx void **v17; // rax v6 = (void **)*a1; v7 = **a1; if ( v7 == v6 ) { LABEL_4: v8 = 0; if ( a2 == a3 ) { v9 = nullptr; v10 = nullptr; } else { v9 = (void ***)operator new(0x18u); v9[2] = (void **)a2[2]; v10 = v9; v8 = 1; for ( i = (_QWORD *)*a2; i != a3; i = (_QWORD *)*i ) { v12 = (void **)operator new(0x18u); v12[2] = (void *)i[2]; *v10 = v12; v12[1] = v10; v10 = (void ***)v12; ++v8; } } v16 = (void **)*a1; if ( v8 ) { v17 = (void **)v16[1]; v9[1] = v17; *v17 = v9; *v10 = v16; v16[1] = v10; a1[1] = (void ***)((char *)a1[1] + v8); } } else { while ( a2 != a3 ) { *((_DWORD *)v7 + 4) = *((_DWORD *)a2 + 4); *((_DWORD *)v7 + 5) = *((_DWORD *)a2 + 5); v7 = (void **)*v7; a2 = (_QWORD *)*a2; if ( v7 == v6 ) goto LABEL_4; } if ( v7 != v6 ) { v13 = (void ***)v7[1]; *v13 = v6; v6[1] = v13; v14 = 0; do { v15 = (void **)*v7; j_j_free(v7); v7 = v15; ++v14; } while ( v15 != v6 ); a1[1] = (void ***)((char *)a1[1] - v14); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source