// // DS_Dictionary::setFloatForKey from 0x10017ef30 to 0x10017f1df (687 bytes) // // 1 xrefs: // > DS_Dictionary::setFloatForKey_1 @ 0x10017ef27 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall DS_Dictionary::setFloatForKey(DS_Dictionary *a1, const char *a2, float a3, bool a4) { __int64 v4; // rcx __int64 v5; // r8 __int64 v6; // r9 const char *v9; // r15 const char *v10; // rsi __int64 i; // rax char *v12; // rax const char *v13; // rsi __int64 v14; // rax const char *v15; // rsi size_t v16; // rbx size_t v17; // rdi void *v18; // rax void *v19; // r14 _BYTE *v20; // r15 __int64 v21; // [rsp+8h] [rbp-268h] BYREF __int128 v22; // [rsp+10h] [rbp-260h] BYREF int v23; // [rsp+20h] [rbp-250h] char v24; // [rsp+24h] [rbp-24Ch] __int64 v25; // [rsp+28h] [rbp-248h] BYREF size_t __len; // [rsp+30h] [rbp-240h] BYREF size_t v27; // [rsp+38h] [rbp-238h] void *__src; // [rsp+40h] [rbp-230h] _BYTE v29[504]; // [rsp+48h] [rbp-228h] BYREF __len = 0; v27 = 500; __src = v29; v22 = 0x2000000000uLL; v23 = -1; v24 = 0; sub_100224410(&__len, &v22, a4, v4, v5, v6, a3); pugi::xml_node::xml_node(&v22); v9 = "k"; if ( a4 ) { v10 = "k"; if ( a1->compatible ) v10 = "key"; for ( i = sub_10063B550(&a1->dictTree.__end_[-1], v10); ; i = sub_10063B730(&v25, v13) ) { v25 = i; if ( !sub_10063B3F0(&v25) ) break; v12 = (char *)sub_10063B880(&v25); if ( !sub_1001796D0(v12, (char *)a2) ) { if ( a1->compatible ) v9 = "key"; v14 = sub_10063C8D0(&a1->dictTree.__end_[-1], v9, &v25); goto LABEL_16; } v13 = "k"; if ( a1->compatible ) v13 = "key"; } } if ( a1->compatible ) v9 = "key"; v14 = sub_10063C660(&a1->dictTree.__end_[-1], v9); LABEL_16: *(_QWORD *)&v22 = v14; v25 = sub_10063C150(&v22, 3); sub_10063BA40(&v25, a2); v15 = "r"; if ( a1->compatible ) v15 = "real"; v21 = sub_10063C7D0(&a1->dictTree.__end_[-1], v15, &v22); v25 = sub_10063C150(&v21, 3); v16 = __len; if ( v27 >= __len + 1 ) { v19 = __src; } else { v17 = v27 + (v27 >> 1); if ( v17 <= __len + 1 ) v17 = __len + 1; v27 = v17; v18 = operator new[](v17); v19 = v18; v20 = __src; if ( v16 ) memmove(v18, __src, v16); if ( v20 != v29 && v20 != nullptr ) operator delete[](v20); __src = v19; } *((_BYTE *)v19 + v16) = 0; sub_10063BA40(&v25, __src); if ( __src != v29 && __src != nullptr ) operator delete[](__src); }
GD Web Decomp Icon

GD Web Decomp

Raw Source