{"type": "func", "start": 6443384048, "end": 6443384148, "name": "sub_1800E3CF0", "pseudocode": "// \n// sub_1800E3CF0 from 0x1800e3cf0 to 0x1800e3d54 (100 bytes)\n// \n// 2 xrefs:\n// > sub_1800015A0 @ 0x1800015b7\n// > <???> @ 0x1801bbdf0\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\nvoid __fastcall sub_1800E3CF0()\n{\n  char *v0; // rcx\n\n  if ( *((_QWORD *)&xmmword_1801A8A40 + 1) > 0xFu )\n  {\n    v0 = cocos2d::CCUserDefault::m_sFilePath;\n    if ( (unsigned __int64)(*((_QWORD *)&xmmword_1801A8A40 + 1) + 1LL) >= 0x1000 )\n    {\n      if ( (unsigned __int64)&cocos2d::CCUserDefault::m_sFilePath[-*((_QWORD *)cocos2d::CCUserDefault::m_sFilePath - 1)\n                                                                - 8] > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n      v0 = *((char **)cocos2d::CCUserDefault::m_sFilePath - 1);\n    }\n    j_j_free_0(v0);\n  }\n  xmmword_1801A8A40 = (__int128)_mm_load_si128((const __m128i *)&xmmword_1800E7160);\n  LOBYTE(cocos2d::CCUserDefault::m_sFilePath) = 0;\n}", "assembly": "; \n; sub_1800E3CF0 from 0x1800e3cf0 to 0x1800e3d54 (100 bytes)\n; \n; 2 xrefs:\n; > sub_1800015A0 @ 0x1800015b7\n; > <???> @ 0x1801bbdf0\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800e3cf0\nmov     rdx, qword ptr cs:xmmword_1801A8A40+8                          ; +0x4, 0x1800e3cf4\ncmp     rdx, 0Fh                                                       ; +0xb, 0x1800e3cfb\njbe     short loc_1800E3D31                                            ; +0xf, 0x1800e3cff\nmov     rcx, cs:?m_sFilePath@CCUserDefault@cocos2d@@0V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A; std::string cocos2d::CCUserDefault::m_sFilePath ; +0x11, 0x1800e3d01\ninc     rdx                                                            ; +0x18, 0x1800e3d08\ncmp     rdx, 1000h                                                     ; +0x1b, 0x1800e3d0b\njb      short loc_1800E3D2C                                            ; +0x22, 0x1800e3d12\nmov     r8, [rcx-8]                                                    ; +0x24, 0x1800e3d14\nadd     rdx, 27h ; '''                                                 ; +0x28, 0x1800e3d18\nsub     rcx, r8                                                        ; +0x2c, 0x1800e3d1c\nlea     rax, [rcx-8]                                                   ; +0x2f, 0x1800e3d1f\ncmp     rax, 1Fh                                                       ; +0x33, 0x1800e3d23\nja      short loc_1800E3D4D                                            ; +0x37, 0x1800e3d27\nmov     rcx, r8; Block                                                 ; +0x39, 0x1800e3d29\ncall    j_j_free_0                                                     ; +0x3c, 0x1800e3d2c\nmovdqa  xmm0, cs:xmmword_1800E7160                                     ; +0x41, 0x1800e3d31\nmovdqu  cs:xmmword_1801A8A40, xmm0                                     ; +0x49, 0x1800e3d39\nmov     byte ptr cs:?m_sFilePath@CCUserDefault@cocos2d@@0V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A, 0; std::string cocos2d::CCUserDefault::m_sFilePath ; +0x51, 0x1800e3d41\nadd     rsp, 28h                                                       ; +0x58, 0x1800e3d48\nretn                                                                   ; +0x5c, 0x1800e3d4c\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x5d, 0x1800e3d4d\ndb 0CCh                                                                ; +0x63, 0x1800e3d53", "xrefs": ["sub_1800015A0 @ 0x1800015b7", "<???> @ 0x1801bbdf0"], "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"}