{"type": "func", "start": 6442460160, "end": 6442460263, "name": "cocos2d::extension::AssetsManager::setSearchPath", "pseudocode": "// \n// cocos2d::extension::AssetsManager::setSearchPath from 0x180002400 to 0x180002467 (103 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::AssetsManager::checkUpdate @ 0x180001b01\n// > sub_180002DE0 @ 0x180002f23\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004912c\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\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::extension::AssetsManager::setSearchPath(cocos2d::extension::AssetsManager *this)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n  _QWORD v5[5]; // [rsp+20h] [rbp-28h] BYREF\n  char v6; // [rsp+50h] [rbp+8h] BYREF\n\n  v2 = cocos2d::CCFileUtils::sharedFileUtils();\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 128LL))(v2);\n  sub_180003750(v5, v3);\n  sub_180003320(v5, &v6, v5[0], (char *)this + 8);\n  v4 = cocos2d::CCFileUtils::sharedFileUtils();\n  (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v4 + 104LL))(v4, v5);\n  sub_180003630(v5);\n}", "assembly": "; \n; cocos2d::extension::AssetsManager::setSearchPath from 0x180002400 to 0x180002467 (103 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::AssetsManager::checkUpdate @ 0x180001b01\n; > sub_180002DE0 @ 0x180002f23\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004912c\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\npush    rbx                                                            ; +0x0, 0x180002400\nsub     rsp, 40h                                                       ; +0x2, 0x180002402\nmov     rbx, rcx                                                       ; +0x6, 0x180002406\ncall    cs:?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x9, 0x180002409\nmov     rdx, [rax]                                                     ; +0xf, 0x18000240f\nmov     rcx, rax                                                       ; +0x12, 0x180002412\ncall    qword ptr [rdx+80h]                                            ; +0x15, 0x180002415\nmov     rdx, rax                                                       ; +0x1b, 0x18000241b\nlea     rcx, [rsp+48h+var_28]                                          ; +0x1e, 0x18000241e\ncall    sub_180003750                                                  ; +0x23, 0x180002423\nnop                                                                    ; +0x28, 0x180002428\nlea     r9, [rbx+8]                                                    ; +0x29, 0x180002429\nmov     r8, [rsp+48h+var_28]                                           ; +0x2d, 0x18000242d\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x32, 0x180002432\nlea     rcx, [rsp+48h+var_28]                                          ; +0x37, 0x180002437\ncall    sub_180003320                                                  ; +0x3c, 0x18000243c\ncall    cs:?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x41, 0x180002441\nmov     r8, [rax]                                                      ; +0x47, 0x180002447\nlea     rdx, [rsp+48h+var_28]                                          ; +0x4a, 0x18000244a\nmov     rcx, rax                                                       ; +0x4f, 0x18000244f\ncall    qword ptr [r8+68h]                                             ; +0x52, 0x180002452\nnop                                                                    ; +0x56, 0x180002456\nlea     rcx, [rsp+48h+var_28]                                          ; +0x57, 0x180002457\ncall    sub_180003630                                                  ; +0x5c, 0x18000245c\nadd     rsp, 40h                                                       ; +0x61, 0x180002461\npop     rbx                                                            ; +0x65, 0x180002465\nretn                                                                   ; +0x66, 0x180002466", "xrefs": ["cocos2d::extension::AssetsManager::checkUpdate @ 0x180001b01", "sub_180002DE0 @ 0x180002f23", "<???> @ 0x18002fdf8", "<???> @ 0x18004912c"], "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"}