// // sub_10064EF90 from 0x10064ef90 to 0x10064f091 (257 bytes) // // 2 xrefs: // > sub_10064CF70 @ 0x10064d6ff // > sub_10064EC40 @ 0x10064eddd // // 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 // __int64 __fastcall sub_10064EF90(__int64 a1) { __int64 i; // r15 __int64 v2; // rax int v3; // eax _QWORD *v4; // r12 __int64 v5; // rax __int64 v6; // rcx _QWORD *v7; // rax _QWORD *v9; // rax for ( i = ((__int64 (*)(void))sub_10064F220)(); ; i = sub_10064F220(a1, i) ) { v3 = *(_DWORD *)(a1 + 40); if ( v3 != 17 ) break; sub_10064C690(a1 + 8); v4 = *(_QWORD **)a1; v5 = *(_QWORD *)(*(_QWORD *)a1 + 8LL); v6 = v5 + 40; if ( (unsigned __int64)(v5 + 40) <= 0x1000 ) { v2 = *v4 + v5 + 8; v4[1] = v6; } else { v7 = (_QWORD *)off_10099E670(); if ( !v7 ) { v9 = *(_QWORD **)(a1 + 64); *v9 = "Out of memory"; v9[1] = *(_QWORD *)(a1 + 16) - *(_QWORD *)(a1 + 48); longjmp((int *)(a1 + 104), 1); } *v7 = *v4; *v4 = v7; v4[1] = 40; v2 = (__int64)(v7 + 1); } *(_DWORD *)v2 = 33882425; *(_QWORD *)(v2 + 8) = i; *(_OWORD *)(v2 + 16) = 0; *(_QWORD *)(v2 + 32) = 0; i = v2; LABEL_4: ; } if ( v3 == 16 ) { sub_10064C690(a1 + 8); goto LABEL_4; } return i; }
GD Web Decomp Icon

GD Web Decomp

Raw Source