{"type": "func", "start": 6442460112, "end": 6442460157, "name": "cocos2d::extension::AssetsManager::createDirectory", "pseudocode": "// \n// cocos2d::extension::AssetsManager::createDirectory from 0x1800023d0 to 0x1800023fd (45 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049120\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\nbool __fastcall cocos2d::extension::AssetsManager::createDirectory(\n        cocos2d::extension::AssetsManager *this,\n        const char *a2)\n{\n  return CreateDirectoryA(a2, nullptr) || GetLastError() == 183;\n}", "assembly": "; \n; cocos2d::extension::AssetsManager::createDirectory from 0x1800023d0 to 0x1800023fd (45 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049120\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, 0x1800023d0\nmov     rcx, rdx; lpPathName                                           ; +0x4, 0x1800023d4\nxor     edx, edx; lpSecurityAttributes                                 ; +0x7, 0x1800023d7\ncall    cs:CreateDirectoryA                                            ; +0x9, 0x1800023d9\ntest    eax, eax                                                       ; +0xf, 0x1800023df\njnz     short loc_1800023F6                                            ; +0x11, 0x1800023e1\ncall    cs:GetLastError                                                ; +0x13, 0x1800023e3\ncmp     eax, 0B7h                                                      ; +0x19, 0x1800023e9\nsetz    al                                                             ; +0x1e, 0x1800023ee\nadd     rsp, 28h                                                       ; +0x21, 0x1800023f1\nretn                                                                   ; +0x25, 0x1800023f5\nmov     al, 1                                                          ; +0x26, 0x1800023f6\nadd     rsp, 28h                                                       ; +0x28, 0x1800023f8\nretn                                                                   ; +0x2c, 0x1800023fc", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x180049120"], "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"}