// // tinyxml2::XMLNode::SetValue from 0x1800a0590 to 0x1800a0655 (197 bytes) // // 7 xrefs: // > tinyxml2::XMLElement::SetName @ 0x1800a04d0 // > cocos2d::CCUserDefault::setBoolForKey @ 0x1800a3020 // > cocos2d::CCUserDefault::setDoubleForKey @ 0x1800a31a9 // > cocos2d::CCUserDefault::setIntegerForKey @ 0x1800a32e4 // > cocos2d::CCUserDefault::setStringForKey @ 0x1800a33f0 // > @ 0x18014cf68 // > @ 0x1801c1518 // // This function is hookable on this platform (idp: pc, 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 11:22:13 +0000 // void __fastcall tinyxml2::XMLNode::SetValue(tinyxml2::XMLNode *this, char *a2, char a3) { int v4; // eax void **v6; // rbx void **v7; // r14 size_t v8; // rdi void *v9; // rax char *v10; // rax v4 = *((_DWORD *)this + 6) & 0x200; if ( a3 ) { v6 = (void **)((char *)this + 32); if ( v4 ) j_j_free_0(*v6); *v6 = a2; *((_DWORD *)this + 6) = 0; *((_QWORD *)this + 5) = 0; } else { v7 = (void **)((char *)this + 32); if ( v4 ) j_j_free_0(*v7); *((_DWORD *)this + 6) = 0; *v7 = nullptr; *((_QWORD *)this + 5) = 0; v8 = strlen(a2); v9 = (void *)sub_1800E4C6C(v8 + 1); *v7 = v9; memcpy(v9, a2, v8 + 1); v10 = (char *)*v7; *((_DWORD *)this + 6) = 512; *((_QWORD *)this + 5) = &v10[v8]; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source