// // DS_Dictionary::getVec2ForKey from 0x5fd3b4 to 0x5fd49e (234 bytes) // // 3 xrefs: // > SpriteDescription::initDescription @ 0x2e47b2 // > SpriteDescription::initDescription @ 0x2e47c8 // > SpriteDescription::initDescription @ 0x2e47de // // 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 // cocos2d::CCPoint *DS_Dictionary::getVec2ForKey( cocos2d::CCPoint *__return_ptr retstr, DS_Dictionary *a2, const char *a3) { pugi::xml_node *v5; // r0 const char *v6; // r1 const char *v7; // r0 pugi::xml_node_struct *v8; // r0 const char *v9; // r1 const char *v10; // r0 const char *v11; // r1 pugi::xml_node v14; // [sp+14h] [bp-18h] BYREF pugi::xml_node v15; // [sp+18h] [bp-14h] BYREF cocos2d::CCPoint v16; // [sp+1Ch] [bp-10h] BYREF v5 = (pugi::xml_node *)std::vector::back((int)&a2->dictTree); if ( a2->compatible ) v6 = "key"; else v6 = "k"; for ( v14._root = (pugi::xml_node_struct *)pugi::xml_node::child(v5, v6); pugi::xml_node::operator void (*)(pugi::xml_node***)(&v14); v14._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v14, v11) ) { v7 = (const char *)pugi::xml_node::child_value(&v14); if ( !strcmp(v7, a3) ) { v8 = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v14); v9 = a2->compatible ? "string" : (const char *)&aO1i2r3e45s7t89[9]; v15._root = v8; LODWORD(v16.x) = pugi::xml_node::next_sibling(&v14, v9); if ( pugi::xml_node::operator==(&v15, &v16) ) { cocos2d::CCPoint::CCPoint(&v16); v15._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v14); v10 = (const char *)pugi::xml_node::child_value(&v15); cocos2d::CCPointFromString(retstr, v10); return retstr; } } if ( a2->compatible ) v11 = "key"; else v11 = "k"; } cocos2d::CCPoint::CCPoint(retstr, &stru_ACACFC); return retstr; }