{"type": "func", "start": 6443185248, "end": 6443185414, "name": "cocos2d::CCTMXMapInfo::parseXMLString", "pseudocode": "// \n// cocos2d::CCTMXMapInfo::parseXMLString from 0x1800b3460 to 0x1800b3506 (166 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c27b4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:20 +0000\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  int v5; // eax\n  unsigned int v6; // edi\n  char v7; // bl\n  struct cocos2d::CCSAXDelegator *v8; // rdx\n  char v10; // [rsp+38h] [rbp+10h] BYREF\n\n  v5 = strlen(a2);\n  v6 = v5;\n  if ( !a2 || v5 <= 0 )\n    return 0;\n  cocos2d::CCThread::CCThread((cocos2d::CCThread *)&v10);\n  if ( cocos2d::CCComponent::serialize((cocos2d::CCComponent *)&v10, \"UTF-8\") )\n  {\n    v8 = (cocos2d::CCTMXMapInfo *)((char *)this + 56);\n    if ( !this )\n      v8 = nullptr;\n    cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)&v10, v8);\n    v7 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v10, a2, v6);\n  }\n  else\n  {\n    v7 = 0;\n  }\n  cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)&v10, v2);\n  return v7;\n}", "assembly": "; \n; cocos2d::CCTMXMapInfo::parseXMLString from 0x1800b3460 to 0x1800b3506 (166 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c27b4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:20 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b3460\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800b3465\npush    rdi                                                            ; +0xa, 0x1800b346a\nsub     rsp, 20h                                                       ; +0xb, 0x1800b346b\nmov     rbx, rdx                                                       ; +0xf, 0x1800b346f\nmov     rsi, rcx                                                       ; +0x12, 0x1800b3472\nmov     rcx, rdx; Str                                                  ; +0x15, 0x1800b3475\ncall    strlen                                                         ; +0x18, 0x1800b3478\nmov     rdi, rax                                                       ; +0x1d, 0x1800b347d\ntest    rbx, rbx                                                       ; +0x20, 0x1800b3480\njz      short loc_1800B34F4                                            ; +0x23, 0x1800b3483\ntest    edi, edi                                                       ; +0x25, 0x1800b3485\njle     short loc_1800B34F4                                            ; +0x27, 0x1800b3487\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x29, 0x1800b3489\ncall    ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x2e, 0x1800b348e\nnop                                                                    ; +0x33, 0x1800b3493\nlea     rdx, aUtf8; \"UTF-8\"                                            ; +0x34, 0x1800b3494\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x3b, 0x1800b349b\ncall    ?serialize@CCComponent@cocos2d@@UEAA_NPEAX@Z; cocos2d::CCComponent::serialize(void *) ; +0x40, 0x1800b34a0\ntest    al, al                                                         ; +0x45, 0x1800b34a5\njnz     short loc_1800B34AD                                            ; +0x47, 0x1800b34a7\nxor     bl, bl                                                         ; +0x49, 0x1800b34a9\njmp     short loc_1800B34D7                                            ; +0x4b, 0x1800b34ab\nlea     rdx, [rsi+38h]                                                 ; +0x4d, 0x1800b34ad\nxor     eax, eax                                                       ; +0x51, 0x1800b34b1\ntest    rsi, rsi                                                       ; +0x53, 0x1800b34b3\ncmovz   rdx, rax; struct cocos2d::CCSAXDelegator *                     ; +0x56, 0x1800b34b6\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x5a, 0x1800b34ba\ncall    ?setDelegator@CCSAXParser@cocos2d@@QEAAXPEAVCCSAXDelegator@2@@Z; cocos2d::CCSAXParser::setDelegator(cocos2d::CCSAXDelegator *) ; +0x5f, 0x1800b34bf\nmov     r8d, edi; unsigned int                                         ; +0x64, 0x1800b34c4\nmov     rdx, rbx; char *                                               ; +0x67, 0x1800b34c7\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x6a, 0x1800b34ca\ncall    ?parse@CCSAXParser@cocos2d@@QEAA_NPEBDI@Z; cocos2d::CCSAXParser::parse(char const *,uint) ; +0x6f, 0x1800b34cf\nmovzx   ebx, al                                                        ; +0x74, 0x1800b34d4\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x77, 0x1800b34d7\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x7c, 0x1800b34dc\nmovzx   eax, bl                                                        ; +0x81, 0x1800b34e1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x84, 0x1800b34e4\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x89, 0x1800b34e9\nadd     rsp, 20h                                                       ; +0x8e, 0x1800b34ee\npop     rdi                                                            ; +0x92, 0x1800b34f2\nretn                                                                   ; +0x93, 0x1800b34f3\nxor     al, al                                                         ; +0x94, 0x1800b34f4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x96, 0x1800b34f6\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x9b, 0x1800b34fb\nadd     rsp, 20h                                                       ; +0xa0, 0x1800b3500\npop     rdi                                                            ; +0xa4, 0x1800b3504\nretn                                                                   ; +0xa5, 0x1800b3505", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c27b4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}