{"type": "func", "start": 6442920144, "end": 6442920284, "name": "cocos2d::CCSAXParser::parse", "pseudocode": "// \n// cocos2d::CCSAXParser::parse from 0x1800728d0 to 0x18007295c (140 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCSAXParser::parse @ 0x1800728a6\n// > cocos2d::CCTMXMapInfo::formatWithXML @ 0x1800af6da\n// > cocos2d::CCTMXMapInfo::initWithXML @ 0x1800af833\n// > cocos2d::CCTMXMapInfo::parseXMLString @ 0x1800afb68\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4398\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=2\n__int64 __fastcall cocos2d::CCSAXParser::parse(cocos2d::CCSAXParser *this, const char *a2, unsigned int a3)\n{\n  const char *v4; // rdi\n  _QWORD v7[2]; // [rsp+20h] [rbp-298h] BYREF\n  _BYTE v8[640]; // [rsp+30h] [rbp-288h] BYREF\n\n  v4 = a2;\n  LOBYTE(a2) = 1;\n  tinyxml2::XMLDocument::XMLDocument(v8, a2, 0);\n  tinyxml2::XMLDocument::Parse(v8, v4, a3);\n  v7[0] = &cocos2d::XmlSaxHander::`vftable';\n  v7[1] = this;\n  LOBYTE(a3) = tinyxml2::XMLDocument::Accept((tinyxml2::XMLDocument *)v8, (struct tinyxml2::XMLVisitor *)v7);\n  v7[0] = &tinyxml2::XMLVisitor::`vftable';\n  tinyxml2::XMLDocument::~XMLDocument((tinyxml2::XMLDocument *)v8);\n  return (unsigned __int8)a3;\n}", "assembly": "; \n; cocos2d::CCSAXParser::parse from 0x1800728d0 to 0x18007295c (140 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCSAXParser::parse @ 0x1800728a6\n; > cocos2d::CCTMXMapInfo::formatWithXML @ 0x1800af6da\n; > cocos2d::CCTMXMapInfo::initWithXML @ 0x1800af833\n; > cocos2d::CCTMXMapInfo::parseXMLString @ 0x1800afb68\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4398\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, 0x1800728d0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800728d5\npush    rdi                                                            ; +0xa, 0x1800728da\nsub     rsp, 2B0h                                                      ; +0xb, 0x1800728db\nmov     ebx, r8d                                                       ; +0x12, 0x1800728e2\nmov     rdi, rdx                                                       ; +0x15, 0x1800728e5\nmov     rsi, rcx                                                       ; +0x18, 0x1800728e8\nxor     r8d, r8d                                                       ; +0x1b, 0x1800728eb\nmov     dl, 1                                                          ; +0x1e, 0x1800728ee\nlea     rcx, [rsp+2B8h+var_288]                                        ; +0x20, 0x1800728f0\ncall    ??0XMLDocument@tinyxml2@@QEAA@_NW4Whitespace@1@@Z; tinyxml2::XMLDocument::XMLDocument(bool,tinyxml2::Whitespace) ; +0x25, 0x1800728f5\nnop                                                                    ; +0x2a, 0x1800728fa\nmov     r8d, ebx                                                       ; +0x2b, 0x1800728fb\nmov     rdx, rdi                                                       ; +0x2e, 0x1800728fe\nlea     rcx, [rsp+2B8h+var_288]                                        ; +0x31, 0x180072901\ncall    ?Parse@XMLDocument@tinyxml2@@QEAA?AW4XMLError@2@PEBD_K@Z; tinyxml2::XMLDocument::Parse(char const *,unsigned __int64) ; +0x36, 0x180072906\nlea     rax, ??_7XmlSaxHander@cocos2d@@6B@; const cocos2d::XmlSaxHander::`vftable' ; +0x3b, 0x18007290b\nmov     [rsp+2B8h+var_298], rax                                        ; +0x42, 0x180072912\nmov     [rsp+2B8h+var_290], rsi                                        ; +0x47, 0x180072917\nlea     rdx, [rsp+2B8h+var_298]; struct tinyxml2::XMLVisitor *         ; +0x4c, 0x18007291c\nlea     rcx, [rsp+2B8h+var_288]; this                                  ; +0x51, 0x180072921\ncall    ?Accept@XMLDocument@tinyxml2@@UEBA_NPEAVXMLVisitor@2@@Z; tinyxml2::XMLDocument::Accept(tinyxml2::XMLVisitor *) ; +0x56, 0x180072926\nmovzx   ebx, al                                                        ; +0x5b, 0x18007292b\nlea     rax, ??_7XMLVisitor@tinyxml2@@6B@; const tinyxml2::XMLVisitor::`vftable' ; +0x5e, 0x18007292e\nmov     [rsp+2B8h+var_298], rax                                        ; +0x65, 0x180072935\nlea     rcx, [rsp+2B8h+var_288]; this                                  ; +0x6a, 0x18007293a\ncall    ??1XMLDocument@tinyxml2@@UEAA@XZ; tinyxml2::XMLDocument::~XMLDocument(void) ; +0x6f, 0x18007293f\nmovzx   eax, bl                                                        ; +0x74, 0x180072944\nlea     r11, [rsp+2B8h+var_8]                                          ; +0x77, 0x180072947\nmov     rbx, [r11+10h]                                                 ; +0x7f, 0x18007294f\nmov     rsi, [r11+18h]                                                 ; +0x83, 0x180072953\nmov     rsp, r11                                                       ; +0x87, 0x180072957\npop     rdi                                                            ; +0x8a, 0x18007295a\nretn                                                                   ; +0x8b, 0x18007295b", "xrefs": ["cocos2d::CCSAXParser::parse @ 0x1800728a6", "cocos2d::CCTMXMapInfo::formatWithXML @ 0x1800af6da", "cocos2d::CCTMXMapInfo::initWithXML @ 0x1800af833", "cocos2d::CCTMXMapInfo::parseXMLString @ 0x1800afb68", "<???> @ 0x1801438a8", "<???> @ 0x1801b4398"], "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"}