// // DS_Dictionary::getVec2ArrayForKey from 0x10015d800 to 0x10015d93a (314 bytes) // // 0 xrefs: // // 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:25:06 +0000 // __int64 __fastcall DS_Dictionary::getVec2ArrayForKey(__int64 a1, __int64 a2, const char *a3, double a4) { void **v5; // r15 __int64 v6; // r12 unsigned __int64 v7; // r13 unsigned __int64 v8; // r15 __int64 v9; // rdi char *v10; // r15 void **v11; // r14 void **v12; // rdi char v14[8]; // [rsp+8h] [rbp-48h] BYREF __int128 __p; // [rsp+10h] [rbp-40h] BYREF DS_Dictionary::getStringArrayForKey(&__p, a2, a3, a4); *(_OWORD *)a1 = 0; *(_QWORD *)(a1 + 16) = 0; v5 = (void **)__p; if ( *((_QWORD *)&__p + 1) == (_QWORD)__p ) { LABEL_8: if ( !v5 ) return a1; goto LABEL_11; } v6 = 0; v7 = 0; while ( 1 ) { sub_1002782A0(v14); v8 = *(_QWORD *)(a1 + 8); if ( v8 >= *(_QWORD *)(a1 + 16) ) { v9 = a1; v10 = sub_1000DF5B0((char **)a1, (__int64)v14); } else { v9 = *(_QWORD *)(a1 + 8); sub_1002782D0(v9, v14); v10 = (char *)(v8 + 8); } *(_QWORD *)(a1 + 8) = v10; if ( !(unsigned __int8)DS_Dictionary::vec2FromString(v9, v6 + __p, (__int64)(v10 - 8)) ) break; ++v7; v5 = (void **)__p; v6 += 24; if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(*((_QWORD *)&__p + 1) - __p) >> 3) <= v7 ) goto LABEL_8; } *(_QWORD *)(a1 + 8) = *(_QWORD *)a1; v5 = (void **)__p; if ( (_QWORD)__p ) { LABEL_11: v11 = *((void ***)&__p + 1); v12 = v5; if ( *((void ***)&__p + 1) != v5 ) { do { if ( (*(_BYTE *)(v11 - 3) & 1) != 0 ) operator delete(*(v11 - 1)); v11 -= 3; } while ( v11 != v5 ); v12 = (void **)__p; } *((_QWORD *)&__p + 1) = v5; operator delete(v12); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source