// // sub_D748A0 from 0xd748a0 to 0xd74a10 (368 bytes) // // 2 xrefs: // > sub_D748A0 @ 0xd74994 // > sub_D74A10 @ 0xd74a98 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:02 +0000 // __int64 __fastcall sub_D748A0(const void *a1, tinyxml2::XMLDocument *a2) { cocos2d::CCString *v4; // x22 tinyxml2::XMLNode *v5; // x21 char *CString; // x0 tinyxml2::XMLNode *v7; // x0 tinyxml2::XMLNode *v8; // x1 _QWORD *v10; // x22 tinyxml2::XMLNode *v11; // x21 unsigned int *v12; // x1 unsigned int v13; // w0 __int64 *v14; // x20 __int64 *v15; // x22 __int64 v16; // x0 tinyxml2::XMLNode *v17; // x1 void *v18; // x0 if ( !a1 ) return 0; v4 = (cocos2d::CCString *)_dynamic_cast( a1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0); if ( v4 ) { v5 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewElement(a2, "string"); CString = cocos2d::CCString::getCString(v4); v7 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewText(a2, CString); tinyxml2::XMLNode::InsertEndChild(v5, v7); return (__int64)v5; } v10 = _dynamic_cast( a1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCArray, 0); if ( !v10 ) { v18 = _dynamic_cast( a1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCDictionary, 0); if ( v18 ) return sub_D74A10((int)v18, a2); return 0; } v11 = (tinyxml2::XMLNode *)tinyxml2::XMLDocument::NewElement(a2, "array"); v12 = (unsigned int *)v10[7]; v13 = *v12; if ( *v12 ) { v14 = *((__int64 **)v12 + 2); v8 = v11; v15 = &v14[v13 - 1]; if ( v14 > v15 ) return (__int64)v8; v16 = *v14; if ( !*v14 ) return (__int64)v8; do { v17 = (tinyxml2::XMLNode *)sub_D748A0(v16, a2); if ( v17 ) tinyxml2::XMLNode::InsertEndChild(v11, v17); if ( v15 < ++v14 ) break; v16 = *v14; } while ( *v14 ); } return (__int64)v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source