{"type": "func", "start": 6443184944, "end": 6443185243, "name": "cocos2d::CCTMXMapInfo::parseXMLFile", "pseudocode": "// \n// cocos2d::CCTMXMapInfo::parseXMLFile from 0x1800b3330 to 0x1800b345b (299 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCTMXMapInfo::formatWithTMXFile @ 0x1800b2f02\n// > cocos2d::CCTMXMapInfo::initWithTMXFile @ 0x1800b30ea\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4311\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c27a8\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=2\n_BOOL8 __fastcall cocos2d::CCTMXMapInfo::parseXMLFile(cocos2d::CCTMXMapInfo *this, const char *a2)\n{\n  float v2; // xmm1_4\n  bool v5; // bl\n  struct cocos2d::CCSAXDelegator *v6; // rdx\n  struct cocos2d::CCFileUtils *v7; // rax\n  __int64 v8; // rax\n  _BYTE *v9; // r8\n  _BYTE v11[8]; // [rsp+30h] [rbp-38h] BYREF\n  void *Block; // [rsp+38h] [rbp-30h] BYREF\n  __m128i si128; // [rsp+48h] [rbp-20h]\n\n  cocos2d::CCThread::CCThread((cocos2d::CCThread *)v11);\n  if ( cocos2d::CCComponent::serialize((cocos2d::CCComponent *)v11, \"UTF-8\") )\n  {\n    v6 = (cocos2d::CCTMXMapInfo *)((char *)this + 56);\n    if ( !this )\n      v6 = nullptr;\n    cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)v11, v6);\n    v7 = cocos2d::CCFileUtils::sharedFileUtils();\n    v8 = (*(__int64 (__fastcall **)(struct cocos2d::CCFileUtils *, void **, const char *, _QWORD))(*(_QWORD *)v7 + 40LL))(\n           v7,\n           &Block,\n           a2,\n           0);\n    if ( *(_QWORD *)(v8 + 24) > 0xFu )\n      v8 = *(_QWORD *)v8;\n    v5 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)v11, (const char *)v8);\n    if ( si128.m128i_i64[1] > 0xFuLL )\n    {\n      v9 = Block;\n      if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n      {\n        v9 = *((_BYTE **)Block - 1);\n        if ( (unsigned __int64)((_BYTE *)Block - v9 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free_0(v9);\n    }\n    si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500);\n    LOBYTE(Block) = 0;\n  }\n  else\n  {\n    v5 = 0;\n  }\n  cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)v11, v2);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCTMXMapInfo::parseXMLFile from 0x1800b3330 to 0x1800b345b (299 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCTMXMapInfo::formatWithTMXFile @ 0x1800b2f02\n; > cocos2d::CCTMXMapInfo::initWithTMXFile @ 0x1800b30ea\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4311\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c27a8\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_10], rbx                                              ; +0x0, 0x1800b3330\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800b3335\npush    rdi                                                            ; +0xa, 0x1800b333a\nsub     rsp, 60h                                                       ; +0xb, 0x1800b333b\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1800b333f\nxor     rax, rsp                                                       ; +0x16, 0x1800b3346\nmov     [rsp+68h+var_10], rax                                          ; +0x19, 0x1800b3349\nmov     rdi, rdx                                                       ; +0x1e, 0x1800b334e\nmov     rbx, rcx                                                       ; +0x21, 0x1800b3351\nlea     rcx, [rsp+68h+var_38]; this                                    ; +0x24, 0x1800b3354\ncall    ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x29, 0x1800b3359\nnop                                                                    ; +0x2e, 0x1800b335e\nlea     rdx, aUtf8; \"UTF-8\"                                            ; +0x2f, 0x1800b335f\nlea     rcx, [rsp+68h+var_38]; this                                    ; +0x36, 0x1800b3366\ncall    ?serialize@CCComponent@cocos2d@@UEAA_NPEAX@Z; cocos2d::CCComponent::serialize(void *) ; +0x3b, 0x1800b336b\ntest    al, al                                                         ; +0x40, 0x1800b3370\njnz     short loc_1800B337B                                            ; +0x42, 0x1800b3372\nxor     bl, bl                                                         ; +0x44, 0x1800b3374\njmp     loc_1800B342F                                                  ; +0x46, 0x1800b3376\nlea     rdx, [rbx+38h]                                                 ; +0x4b, 0x1800b337b\nxor     esi, esi                                                       ; +0x4f, 0x1800b337f\ntest    rbx, rbx                                                       ; +0x51, 0x1800b3381\ncmovz   rdx, rsi; struct cocos2d::CCSAXDelegator *                     ; +0x54, 0x1800b3384\nlea     rcx, [rsp+68h+var_38]; this                                    ; +0x58, 0x1800b3388\ncall    ?setDelegator@CCSAXParser@cocos2d@@QEAAXPEAVCCSAXDelegator@2@@Z; cocos2d::CCSAXParser::setDelegator(cocos2d::CCSAXDelegator *) ; +0x5d, 0x1800b338d\ncall    ?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x62, 0x1800b3392\nmov     rcx, [rax]                                                     ; +0x67, 0x1800b3397\nmov     r10, [rcx+28h]                                                 ; +0x6a, 0x1800b339a\nxor     r9d, r9d                                                       ; +0x6e, 0x1800b339e\nmov     r8, rdi                                                        ; +0x71, 0x1800b33a1\nlea     rdx, [rsp+68h+Block]                                           ; +0x74, 0x1800b33a4\nmov     rcx, rax                                                       ; +0x79, 0x1800b33a9\ncall    r10                                                            ; +0x7c, 0x1800b33ac\nnop                                                                    ; +0x7f, 0x1800b33af\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x80, 0x1800b33b0\njbe     short loc_1800B33BA                                            ; +0x85, 0x1800b33b5\nmov     rax, [rax]                                                     ; +0x87, 0x1800b33b7\nmov     rdx, rax; char *                                               ; +0x8a, 0x1800b33ba\nlea     rcx, [rsp+68h+var_38]; this                                    ; +0x8d, 0x1800b33bd\ncall    ?parse@CCSAXParser@cocos2d@@QEAA_NPEBD@Z; cocos2d::CCSAXParser::parse(char const *) ; +0x92, 0x1800b33c2\nmovzx   ebx, al                                                        ; +0x97, 0x1800b33c7\nmov     rdx, [rsp+68h+var_18]                                          ; +0x9a, 0x1800b33ca\ncmp     rdx, 0Fh                                                       ; +0x9f, 0x1800b33cf\njbe     short loc_1800B341C                                            ; +0xa3, 0x1800b33d3\ninc     rdx                                                            ; +0xa5, 0x1800b33d5\nmov     r8, [rsp+68h+Block]                                            ; +0xa8, 0x1800b33d8\nmov     rcx, r8                                                        ; +0xad, 0x1800b33dd\ncmp     rdx, 1000h                                                     ; +0xb0, 0x1800b33e0\njb      short loc_1800B3414                                            ; +0xb7, 0x1800b33e7\nadd     rdx, 27h ; '''                                                 ; +0xb9, 0x1800b33e9\nmov     r8, [r8-8]                                                     ; +0xbd, 0x1800b33ed\nsub     rcx, r8                                                        ; +0xc1, 0x1800b33f1\nsub     rcx, 8                                                         ; +0xc4, 0x1800b33f4\ncmp     rcx, 1Fh                                                       ; +0xc8, 0x1800b33f8\njbe     short loc_1800B3414                                            ; +0xcc, 0x1800b33fc\nmov     [rsp+68h+Reserved], rsi; Reserved                              ; +0xce, 0x1800b33fe\nxor     r9d, r9d; LineNo                                               ; +0xd3, 0x1800b3403\nxor     r8d, r8d; FileName                                             ; +0xd6, 0x1800b3406\nxor     edx, edx; FunctionName                                         ; +0xd9, 0x1800b3409\nxor     ecx, ecx; Expression                                           ; +0xdb, 0x1800b340b\ncall    cs:_invoke_watson                                              ; +0xdd, 0x1800b340d\nalign 4                                                                ; +0xe3, 0x1800b3413\nmov     rcx, r8; Block                                                 ; +0xe4, 0x1800b3414\ncall    j_j_free_0                                                     ; +0xe7, 0x1800b3417\nmovdqa  xmm0, cs:xmmword_1800EC500                                     ; +0xec, 0x1800b341c\nmovdqu  xmmword ptr [rsp+48h], xmm0                                    ; +0xf4, 0x1800b3424\nmov     byte ptr [rsp+68h+Block], 0                                    ; +0xfa, 0x1800b342a\nlea     rcx, [rsp+68h+var_38]; this                                    ; +0xff, 0x1800b342f\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x104, 0x1800b3434\nmovzx   eax, bl                                                        ; +0x109, 0x1800b3439\nmov     rcx, [rsp+68h+var_10]                                          ; +0x10c, 0x1800b343c\nxor     rcx, rsp; StackCookie                                          ; +0x111, 0x1800b3441\ncall    __security_check_cookie                                        ; +0x114, 0x1800b3444\nlea     r11, [rsp+68h+var_8]                                           ; +0x119, 0x1800b3449\nmov     rbx, [r11+20h]                                                 ; +0x11e, 0x1800b344e\nmov     rsi, [r11+28h]                                                 ; +0x122, 0x1800b3452\nmov     rsp, r11                                                       ; +0x126, 0x1800b3456\npop     rdi                                                            ; +0x129, 0x1800b3459\nretn                                                                   ; +0x12a, 0x1800b345a", "xrefs": ["cocos2d::CCTMXMapInfo::formatWithTMXFile @ 0x1800b2f02", "cocos2d::CCTMXMapInfo::initWithTMXFile @ 0x1800b30ea", "cocos2d::CCTMXMapInfo::startElement @ 0x1800b4311", "<???> @ 0x18014cf68", "<???> @ 0x1801c27a8"], "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"}