// // DS_Dictionary::getRectForKey from 0x80c558 to 0x80c674 (284 bytes) // // 0 xrefs: // // 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:32 +0000 // DS_Dictionary *__fastcall DS_Dictionary::getRectForKey(DS_Dictionary *this, const char *a2, const char *a3) { pugi::xml_node *v5; // r0 const char *v6; // r1 const char *v7; // r0 int sibling; // r0 const char *v9; // r1 const char *v10; // r0 const char *v11; // r8 size_t v12; // r0 int v13; // r5 cocos2d::CCRect *v14; // r0 const cocos2d::CCRect *v15; // r1 const char *v16; // r1 int i; // [sp+10h] [bp-2Ch] BYREF int v20; // [sp+14h] [bp-28h] BYREF int v21[3]; // [sp+18h] [bp-24h] BYREF float v22[4]; // [sp+24h] [bp-18h] BYREF v5 = (pugi::xml_node *)(*((_DWORD *)a2 + 51) - 4); if ( a2[212] ) v6 = "key"; else v6 = "k"; for ( i = pugi::xml_node::child(v5, v6); ; i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v16) ) { if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&i) ) { v14 = this; goto LABEL_19; } v7 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i); if ( !strcmp(v7, a3) ) { sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&i); v9 = a2[212] ? "string" : (const char *)&a1i2r3e45s789g[8]; v20 = sibling; LODWORD(v22[0]) = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v9); if ( pugi::xml_node::operator==(&v20, v22) ) break; } if ( a2[212] ) v16 = "key"; else v16 = "k"; } cocos2d::CCRect::CCRect((cocos2d::CCRect *)v22); v20 = pugi::xml_node::next_sibling((pugi::xml_node *)&i); v10 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&v20); memset(v21, 0, sizeof(v21)); v11 = v10; v12 = strlen(v10); std::string::__init(v21, v11, v12); v13 = DS_Dictionary::rectFromString((int)a2, (int)v21, v22); std::string::~string((int)v21); v14 = this; if ( v13 ) { v15 = (const cocos2d::CCRect *)v22; goto LABEL_20; } LABEL_19: v15 = (const cocos2d::CCRect *)&unk_D314A0; LABEL_20: cocos2d::CCRect::CCRect(v14, v15); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source