{"type": "func", "start": 6443170544, "end": 6443170719, "name": "cocos2d::CCTMXMapInfo::parseXMLString", "pseudocode": "// \n// cocos2d::CCTMXMapInfo::parseXMLString from 0x1800afaf0 to 0x1800afb9f (175 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b84e4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nchar __fastcall cocos2d::CCTMXMapInfo::parseXMLString(cocos2d::CCTMXMapInfo *this, const char *a2)\n{\n  float v2; // xmm1_4\n  __int64 v5; // rbx\n  char v6; // bl\n  struct cocos2d::CCSAXDelegator *v7; // rdx\n  cocos2d::CCThread v9; // [rsp+38h] [rbp+10h] BYREF\n\n  v5 = -1;\n  do\n    ++v5;\n  while ( a2[v5] );\n  if ( !a2 || (int)v5 <= 0 )\n    return 0;\n  pugi::xml_node::xml_node(&v9);\n  if ( cocos2d::CCComponent::serialize((cocos2d::CCComponent *)&v9, \"UTF-8\") )\n  {\n    v7 = &this->cocos2d::CCSAXDelegator;\n    if ( !this )\n      v7 = nullptr;\n    cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)&v9, v7);\n    v6 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v9, a2, v5);\n  }\n  else\n  {\n    v6 = 0;\n  }\n  cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)&v9, v2);\n  return v6;\n}", "assembly": "; \n; cocos2d::CCTMXMapInfo::parseXMLString from 0x1800afaf0 to 0x1800afb9f (175 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b84e4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800afaf0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800afaf5\npush    rdi                                                            ; +0xa, 0x1800afafa\nsub     rsp, 20h                                                       ; +0xb, 0x1800afafb\nmov     rdi, rdx                                                       ; +0xf, 0x1800afaff\nmov     rsi, rcx                                                       ; +0x12, 0x1800afb02\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x15, 0x1800afb05\nnop     dword ptr [rax+00h]                                            ; +0x1c, 0x1800afb0c\ninc     rbx                                                            ; +0x20, 0x1800afb10\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x23, 0x1800afb13\njnz     short loc_1800AFB10                                            ; +0x27, 0x1800afb17\ntest    rdi, rdi                                                       ; +0x29, 0x1800afb19\njz      short loc_1800AFB8D                                            ; +0x2c, 0x1800afb1c\ntest    ebx, ebx                                                       ; +0x2e, 0x1800afb1e\njle     short loc_1800AFB8D                                            ; +0x30, 0x1800afb20\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x32, 0x1800afb22\ncall    pugi__xml_node__xml_node                                       ; +0x37, 0x1800afb27\nnop                                                                    ; +0x3c, 0x1800afb2c\nlea     rdx, aUtf8; \"UTF-8\"                                            ; +0x3d, 0x1800afb2d\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x44, 0x1800afb34\ncall    ?serialize@CCComponent@cocos2d@@UEAA_NPEAX@Z; cocos2d::CCComponent::serialize(void *) ; +0x49, 0x1800afb39\ntest    al, al                                                         ; +0x4e, 0x1800afb3e\njnz     short loc_1800AFB46                                            ; +0x50, 0x1800afb40\nxor     bl, bl                                                         ; +0x52, 0x1800afb42\njmp     short loc_1800AFB70                                            ; +0x54, 0x1800afb44\nlea     rdx, [rsi+38h]                                                 ; +0x56, 0x1800afb46\nxor     eax, eax                                                       ; +0x5a, 0x1800afb4a\ntest    rsi, rsi                                                       ; +0x5c, 0x1800afb4c\ncmovz   rdx, rax; struct cocos2d::CCSAXDelegator *                     ; +0x5f, 0x1800afb4f\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x63, 0x1800afb53\ncall    ?setDelegator@CCSAXParser@cocos2d@@QEAAXPEAVCCSAXDelegator@2@@Z; cocos2d::CCSAXParser::setDelegator(cocos2d::CCSAXDelegator *) ; +0x68, 0x1800afb58\nmov     r8d, ebx; unsigned int                                         ; +0x6d, 0x1800afb5d\nmov     rdx, rdi; char *                                               ; +0x70, 0x1800afb60\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x73, 0x1800afb63\ncall    ?parse@CCSAXParser@cocos2d@@QEAA_NPEBDI@Z; cocos2d::CCSAXParser::parse(char const *,uint) ; +0x78, 0x1800afb68\nmovzx   ebx, al                                                        ; +0x7d, 0x1800afb6d\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x80, 0x1800afb70\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x85, 0x1800afb75\nmovzx   eax, bl                                                        ; +0x8a, 0x1800afb7a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8d, 0x1800afb7d\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x92, 0x1800afb82\nadd     rsp, 20h                                                       ; +0x97, 0x1800afb87\npop     rdi                                                            ; +0x9b, 0x1800afb8b\nretn                                                                   ; +0x9c, 0x1800afb8c\nxor     al, al                                                         ; +0x9d, 0x1800afb8d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9f, 0x1800afb8f\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xa4, 0x1800afb94\nadd     rsp, 20h                                                       ; +0xa9, 0x1800afb99\npop     rdi                                                            ; +0xad, 0x1800afb9d\nretn                                                                   ; +0xae, 0x1800afb9e", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b84e4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}