{"type": "func", "start": 6442459232, "end": 6442459277, "name": "cocos2d::extension::AssetsManager::createDirectory", "pseudocode": "// \n// cocos2d::extension::AssetsManager::createDirectory from 0x180002060 to 0x18000208d (45 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b0f0\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 12:15:34 +0000\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 0x180002060 to 0x18000208d (45 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b0f0\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 12:15:34 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180002060\nmov     rcx, rdx; lpPathName                                           ; +0x4, 0x180002064\nxor     edx, edx; lpSecurityAttributes                                 ; +0x7, 0x180002067\ncall    cs:CreateDirectoryA                                            ; +0x9, 0x180002069\ntest    eax, eax                                                       ; +0xf, 0x18000206f\njnz     short loc_180002086                                            ; +0x11, 0x180002071\ncall    cs:GetLastError                                                ; +0x13, 0x180002073\ncmp     eax, 0B7h                                                      ; +0x19, 0x180002079\nsetz    al                                                             ; +0x1e, 0x18000207e\nadd     rsp, 28h                                                       ; +0x21, 0x180002081\nretn                                                                   ; +0x25, 0x180002085\nmov     al, 1                                                          ; +0x26, 0x180002086\nadd     rsp, 28h                                                       ; +0x28, 0x180002088\nretn                                                                   ; +0x2c, 0x18000208c", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004b0f0"], "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"}