// // DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch from 0xb43038 to 0xb43128 (240 bytes) // // 1 xrefs: // > @ 0x49b48 // // 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 // unsigned int DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch(DS_Dictionary *a1, const char *a2) { _BOOL4 compatible; // w1 pugi::xml_node *v5; // x0 const char *v6; // x1 int v7; // w20 const char *v8; // x0 const char *v9; // x1 __int64 v10; // x0 pugi::xml_node v12; // [xsp+50h] [xbp+50h] BYREF compatible = a1->compatible; v5 = a1->dictTree.m_finish - 1; if ( compatible ) v6 = "key"; else v6 = "k"; v7 = 0; for ( v12._root = (pugi::xml_node_struct *)pugi::xml_node::child(v5, v6); ; v12._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v12, v9) ) { v10 = pugi::xml_node::operator void (*)(pugi::xml_node***)(&v12); if ( !v10 ) break; v8 = (const char *)pugi::xml_node::child_value(&v12); if ( (unsigned int)alphaNumericallyLessThan(a2, v8) ) { LODWORD(v10) = v7; return v10; } ++v7; if ( a1->compatible ) v9 = "key"; else v9 = "k"; } return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source