{"type": "func", "start": 6443184368, "end": 6443184547, "name": "cocos2d::CCTMXMapInfo::initWithXML", "pseudocode": "// \n// cocos2d::CCTMXMapInfo::initWithXML from 0x1800b30f0 to 0x1800b31a3 (179 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2790\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::initWithXML(cocos2d::CCTMXMapInfo *this, const char *a2, const char *a3)\n{\n  float v3; // xmm1_4\n  int v6; // eax\n  unsigned int v7; // ebx\n  struct cocos2d::CCSAXDelegator *v9; // rdx\n  char v10; // bl\n  char v11; // [rsp+38h] [rbp+10h] BYREF\n\n  cocos2d::CCTMXMapInfo::internalInit(this, nullptr, a3);\n  v6 = strlen(a2);\n  v7 = v6;\n  if ( !a2 || v6 <= 0 )\n    return 0;\n  cocos2d::CCThread::CCThread((cocos2d::CCThread *)&v11);\n  if ( !cocos2d::CCComponent::serialize((cocos2d::CCComponent *)&v11, \"UTF-8\") )\n  {\n    cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)&v11, v3);\n    return 0;\n  }\n  v9 = (cocos2d::CCTMXMapInfo *)((char *)this + 56);\n  if ( !this )\n    v9 = nullptr;\n  cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)&v11, v9);\n  v10 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v11, a2, v7);\n  cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)&v11, v3);\n  return v10;\n}", "assembly": "; \n; cocos2d::CCTMXMapInfo::initWithXML from 0x1800b30f0 to 0x1800b31a3 (179 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2790\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, 0x1800b30f0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800b30f5\npush    rdi                                                            ; +0xa, 0x1800b30fa\nsub     rsp, 20h                                                       ; +0xb, 0x1800b30fb\nmov     rdi, rdx                                                       ; +0xf, 0x1800b30ff\nmov     rsi, rcx                                                       ; +0x12, 0x1800b3102\nxor     edx, edx; char *                                               ; +0x15, 0x1800b3105\ncall    ?internalInit@CCTMXMapInfo@cocos2d@@AEAAXPEBD0@Z; cocos2d::CCTMXMapInfo::internalInit(char const *,char const *) ; +0x17, 0x1800b3107\nmov     rcx, rdi; Str                                                  ; +0x1c, 0x1800b310c\ncall    strlen                                                         ; +0x1f, 0x1800b310f\nmov     rbx, rax                                                       ; +0x24, 0x1800b3114\ntest    rdi, rdi                                                       ; +0x27, 0x1800b3117\njz      short loc_1800B314A                                            ; +0x2a, 0x1800b311a\ntest    ebx, ebx                                                       ; +0x2c, 0x1800b311c\njle     short loc_1800B314A                                            ; +0x2e, 0x1800b311e\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x30, 0x1800b3120\ncall    ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x35, 0x1800b3125\nnop                                                                    ; +0x3a, 0x1800b312a\nlea     rdx, aUtf8; \"UTF-8\"                                            ; +0x3b, 0x1800b312b\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x42, 0x1800b3132\ncall    ?serialize@CCComponent@cocos2d@@UEAA_NPEAX@Z; cocos2d::CCComponent::serialize(void *) ; +0x47, 0x1800b3137\ntest    al, al                                                         ; +0x4c, 0x1800b313c\njnz     short loc_1800B315C                                            ; +0x4e, 0x1800b313e\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x50, 0x1800b3140\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x55, 0x1800b3145\nxor     al, al                                                         ; +0x5a, 0x1800b314a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5c, 0x1800b314c\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x61, 0x1800b3151\nadd     rsp, 20h                                                       ; +0x66, 0x1800b3156\npop     rdi                                                            ; +0x6a, 0x1800b315a\nretn                                                                   ; +0x6b, 0x1800b315b\nlea     rdx, [rsi+38h]                                                 ; +0x6c, 0x1800b315c\nxor     eax, eax                                                       ; +0x70, 0x1800b3160\ntest    rsi, rsi                                                       ; +0x72, 0x1800b3162\ncmovz   rdx, rax; struct cocos2d::CCSAXDelegator *                     ; +0x75, 0x1800b3165\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x79, 0x1800b3169\ncall    ?setDelegator@CCSAXParser@cocos2d@@QEAAXPEAVCCSAXDelegator@2@@Z; cocos2d::CCSAXParser::setDelegator(cocos2d::CCSAXDelegator *) ; +0x7e, 0x1800b316e\nmov     r8d, ebx; unsigned int                                         ; +0x83, 0x1800b3173\nmov     rdx, rdi; char *                                               ; +0x86, 0x1800b3176\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x89, 0x1800b3179\ncall    ?parse@CCSAXParser@cocos2d@@QEAA_NPEBDI@Z; cocos2d::CCSAXParser::parse(char const *,uint) ; +0x8e, 0x1800b317e\nmovzx   ebx, al                                                        ; +0x93, 0x1800b3183\nlea     rcx, [rsp+28h+arg_8]; this                                     ; +0x96, 0x1800b3186\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x9b, 0x1800b318b\nmovzx   eax, bl                                                        ; +0xa0, 0x1800b3190\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa3, 0x1800b3193\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xa8, 0x1800b3198\nadd     rsp, 20h                                                       ; +0xad, 0x1800b319d\npop     rdi                                                            ; +0xb1, 0x1800b31a1\nretn                                                                   ; +0xb2, 0x1800b31a2", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2790"], "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"}