{"type": "func", "start": 6442457152, "end": 6442457204, "name": "cocos2d::extension::AssetsManager::checkStoragePath", "pseudocode": "// \n// cocos2d::extension::AssetsManager::checkStoragePath from 0x180001840 to 0x180001874 (52 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18002fdf8\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 cocos2d::extension::AssetsManager::checkStoragePath(cocos2d::extension::AssetsManager *this)\n{\n  __int64 v1; // rax\n  _QWORD *v2; // rcx\n  _QWORD *v3; // rdx\n\n  v1 = *((_QWORD *)this + 3);\n  if ( v1 )\n  {\n    v2 = (_QWORD *)((char *)this + 8);\n    v3 = v2;\n    if ( v2[3] > 0xFu )\n      v3 = (_QWORD *)*v2;\n    if ( *((_BYTE *)v3 + v1 - 1) != 47 )\n      sub_1800039A0(v2);\n  }\n}", "assembly": "; \n; cocos2d::extension::AssetsManager::checkStoragePath from 0x180001840 to 0x180001874 (52 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18002fdf8\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     rax, [rcx+18h]                                                 ; +0x0, 0x180001840\ntest    rax, rax                                                       ; +0x4, 0x180001844\njz      short locret_180001873                                         ; +0x7, 0x180001847\nadd     rcx, 8; Src                                                    ; +0x9, 0x180001849\nmov     rdx, rcx                                                       ; +0xd, 0x18000184d\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x10, 0x180001850\njbe     short loc_18000185A                                            ; +0x15, 0x180001855\nmov     rdx, [rcx]                                                     ; +0x17, 0x180001857\ncmp     byte ptr [rax+rdx-1], 2Fh ; '/'                                ; +0x1a, 0x18000185a\njz      short locret_180001873                                         ; +0x1f, 0x18000185f\nmov     r8d, 1                                                         ; +0x21, 0x180001861\nlea     rdx, word_180023388                                            ; +0x27, 0x180001867\njmp     sub_1800039A0                                                  ; +0x2e, 0x18000186e\nretn                                                                   ; +0x33, 0x180001873", "xrefs": ["<???> @ 0x18002fdf8"], "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"}