{"type": "func", "start": 6442929552, "end": 6442929673, "name": "cocos2d::CCSAXParser::parse", "pseudocode": "// \n// cocos2d::CCSAXParser::parse from 0x180074d90 to 0x180074e09 (121 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x180070126\n// > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x180070296\n// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x1800b33c2\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be6c8\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:21:58 +0000\n// \n\n_BOOL8 __fastcall cocos2d::CCSAXParser::parse(cocos2d::CCSAXParser *this, const char *a2)\n{\n  bool v4; // di\n  struct cocos2d::CCFileUtils *v5; // rax\n  const char *v6; // rax\n  char *v7; // rbx\n  unsigned int v9; // [rsp+40h] [rbp+18h] BYREF\n\n  v9 = 0;\n  v4 = 0;\n  v5 = cocos2d::CCFileUtils::sharedFileUtils();\n  v6 = (const char *)(*(__int64 (__fastcall **)(struct cocos2d::CCFileUtils *, const char *, void *, unsigned int *))(*(_QWORD *)v5 + 24LL))(\n                       v5,\n                       a2,\n                       &unk_180106C70,\n                       &v9);\n  v7 = (char *)v6;\n  if ( v6 )\n  {\n    if ( v9 )\n      v4 = cocos2d::CCSAXParser::parse(this, v6, v9);\n    j_j_free_0(v7);\n  }\n  return v4;\n}", "assembly": "; \n; cocos2d::CCSAXParser::parse from 0x180074d90 to 0x180074e09 (121 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x180070126\n; > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x180070296\n; > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x1800b33c2\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be6c8\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:21:58 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180074d90\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180074d95\npush    rdi                                                            ; +0xa, 0x180074d9a\nsub     rsp, 20h                                                       ; +0xb, 0x180074d9b\nmov     rbx, rdx                                                       ; +0xf, 0x180074d9f\nmov     [rsp+28h+arg_10], 0                                            ; +0x12, 0x180074da2\nmov     rsi, rcx                                                       ; +0x1a, 0x180074daa\nxor     dil, dil                                                       ; +0x1d, 0x180074dad\ncall    ?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x20, 0x180074db0\nmov     rcx, rax                                                       ; +0x25, 0x180074db5\nlea     r9, [rsp+28h+arg_10]                                           ; +0x28, 0x180074db8\nlea     r8, unk_180106C70                                              ; +0x2d, 0x180074dbd\nmov     rdx, rbx                                                       ; +0x34, 0x180074dc4\nmov     rax, [rax]                                                     ; +0x37, 0x180074dc7\ncall    qword ptr [rax+18h]                                            ; +0x3a, 0x180074dca\nmov     rbx, rax                                                       ; +0x3d, 0x180074dcd\ntest    rax, rax                                                       ; +0x40, 0x180074dd0\njz      short loc_180074DF5                                            ; +0x43, 0x180074dd3\nmov     r8d, [rsp+28h+arg_10]; unsigned int                            ; +0x45, 0x180074dd5\ntest    r8d, r8d                                                       ; +0x4a, 0x180074dda\njz      short loc_180074DED                                            ; +0x4d, 0x180074ddd\nmov     rdx, rax; char *                                               ; +0x4f, 0x180074ddf\nmov     rcx, rsi; this                                                 ; +0x52, 0x180074de2\ncall    ?parse@CCSAXParser@cocos2d@@QEAA_NPEBDI@Z; cocos2d::CCSAXParser::parse(char const *,uint) ; +0x55, 0x180074de5\nmovzx   edi, al                                                        ; +0x5a, 0x180074dea\nmov     rcx, rbx; Block                                                ; +0x5d, 0x180074ded\ncall    j_j_free_0                                                     ; +0x60, 0x180074df0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x65, 0x180074df5\nmovzx   eax, dil                                                       ; +0x6a, 0x180074dfa\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6e, 0x180074dfe\nadd     rsp, 20h                                                       ; +0x73, 0x180074e03\npop     rdi                                                            ; +0x77, 0x180074e07\nretn                                                                   ; +0x78, 0x180074e08", "xrefs": ["cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x180070126", "cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x180070296", "cocos2d::CCTMXMapInfo::parseXMLFile @ 0x1800b33c2", "<???> @ 0x18014cf68", "<???> @ 0x1801be6c8"], "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"}