// // DS_Dictionary::setFloatForKey from 0x80da58 to 0x80dbbc (356 bytes) // // 1 xrefs: // > DS_Dictionary::setFloatForKey @ 0x80dbea // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:34 +0000 // void __fastcall DS_Dictionary::setFloatForKey(DS_Dictionary *this, const char *a2, float a3, int a4) { const char *v7; // r1 const char *v8; // r1 const char *v9; // r0 const char *v10; // r1 int inserted; // r0 const char *v12; // r1 const char *v13; // r1 int appended; // r0 int v15; // r6 int v16; // [sp+Ch] [bp-228h] BYREF int v17; // [sp+10h] [bp-224h] BYREF _DWORD v18[5]; // [sp+14h] [bp-220h] BYREF char v19; // [sp+28h] [bp-20Ch] int v20; // [sp+2Ch] [bp-208h] BYREF unsigned int v21; // [sp+30h] [bp-204h] const char *v22; // [sp+34h] [bp-200h] char v23; // [sp+38h] [bp-1FCh] BYREF v21 = 500; v22 = &v23; v20 = 0; v18[0] = 0; v18[1] = 32; v18[2] = 0; v18[3] = 0; v19 = 0; v18[4] = -1; fmt::BasicWriter::FormatDouble(&v20); pugi::xml_node::xml_node((pugi::xml_node *)&v16); if ( a4 ) { if ( *((_BYTE *)this + 212) ) v8 = "key"; else v8 = "k"; v18[0] = pugi::xml_node::child((pugi::xml_node *)(*((_DWORD *)this + 51) - 4), v8); while ( pugi::xml_node::operator void (*)(pugi::xml_node***)(v18) ) { v9 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)v18); if ( !alphaNumericallyLessThan(v9, a2) ) { if ( *((_BYTE *)this + 212) ) v10 = "key"; else v10 = "k"; inserted = pugi::xml_node::insert_child_before( (pugi::xml_node *)(*((_DWORD *)this + 51) - 4), v10, (const pugi::xml_node *)v18); goto LABEL_20; } if ( *((_BYTE *)this + 212) ) v12 = "key"; else v12 = "k"; v18[0] = pugi::xml_node::next_sibling((pugi::xml_node *)v18, v12); } } if ( *((_BYTE *)this + 212) ) v7 = "key"; else v7 = "k"; inserted = pugi::xml_node::append_child((pugi::xml_node *)(*((_DWORD *)this + 51) - 4), v7); LABEL_20: v16 = inserted; v18[0] = pugi::xml_node::append_child(&v16, 3); pugi::xml_node::set_value((pugi::xml_node *)v18, a2); if ( *((_BYTE *)this + 212) ) v13 = "real"; else v13 = (const char *)&a1i2r3e45s789g[3]; v17 = pugi::xml_node::insert_child_after( (pugi::xml_node *)(*((_DWORD *)this + 51) - 4), v13, (const pugi::xml_node *)&v16); appended = pugi::xml_node::append_child(&v17, 3); v15 = v20; v18[0] = appended; if ( v20 + 1 > v21 ) fmt::internal::Array::grow((int)&v20, v20 + 1); v22[v15] = 0; pugi::xml_node::set_value((pugi::xml_node *)v18, v22); fmt::internal::Array::free((int)&v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source