{"type": "func", "start": 6442465104, "end": 6442465290, "name": "sub_180003750", "pseudocode": "// \n// sub_180003750 from 0x180003750 to 0x18000380a (186 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::AssetsManager::setSearchPath @ 0x180002423\n// > cocos2d::extension::CCHttpRequest::getHeaders @ 0x18001d423\n// > cocos2d::extension::CCHttpRequest::CCHttpRequest @ 0x18001d4ce\n// > <???> @ 0x18004924c\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=2\n__int64 *__fastcall sub_180003750(__int64 *a1, __int64 *a2)\n{\n  unsigned __int64 v4; // rdx\n  __int64 v5; // rdi\n  __int64 v6; // rbp\n  __int64 i; // rbx\n\n  *a1 = 0;\n  a1[1] = 0;\n  a1[2] = 0;\n  v4 = (a2[1] - *a2) >> 5;\n  if ( v4 )\n  {\n    if ( v4 > 0x7FFFFFFFFFFFFFFLL )\n      sub_180003530();\n    sub_180003550(a1, v4);\n    v5 = *a1;\n    v6 = a2[1];\n    for ( i = *a2; i != v6; i += 32 )\n    {\n      sub_180003F50(v5, i);\n      v5 += 32;\n    }\n    sub_1800036B0(v5, v5);\n    a1[1] = v5;\n  }\n  return a1;\n}", "assembly": "; \n; sub_180003750 from 0x180003750 to 0x18000380a (186 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::AssetsManager::setSearchPath @ 0x180002423\n; > cocos2d::extension::CCHttpRequest::getHeaders @ 0x18001d423\n; > cocos2d::extension::CCHttpRequest::CCHttpRequest @ 0x18001d4ce\n; > <???> @ 0x18004924c\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     [rsp+arg_8], rbx                                               ; +0x0, 0x180003750\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x180003755\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x18000375a\npush    rdi                                                            ; +0xf, 0x18000375f\nsub     rsp, 40h                                                       ; +0x10, 0x180003760\nmov     rbx, rdx                                                       ; +0x14, 0x180003764\nmov     rsi, rcx                                                       ; +0x17, 0x180003767\nxor     eax, eax                                                       ; +0x1a, 0x18000376a\nmov     [rcx], rax                                                     ; +0x1c, 0x18000376c\nmov     [rcx+8], rax                                                   ; +0x1f, 0x18000376f\nmov     [rcx+10h], rax                                                 ; +0x23, 0x180003773\nmov     rdx, [rdx+8]                                                   ; +0x27, 0x180003777\nsub     rdx, [rbx]                                                     ; +0x2b, 0x18000377b\nsar     rdx, 5                                                         ; +0x2e, 0x18000377e\ntest    rdx, rdx                                                       ; +0x32, 0x180003782\njz      short loc_1800037EC                                            ; +0x35, 0x180003785\nmov     rax, 7FFFFFFFFFFFFFFh                                          ; +0x37, 0x180003787\ncmp     rdx, rax                                                       ; +0x41, 0x180003791\nja      short loc_180003804                                            ; +0x44, 0x180003794\ncall    sub_180003550                                                  ; +0x46, 0x180003796\nmov     [rsp+48h+arg_0], rsi                                           ; +0x4b, 0x18000379b\nmov     rdi, [rsi]                                                     ; +0x50, 0x1800037a0\nmov     rbp, [rbx+8]                                                   ; +0x53, 0x1800037a3\nmov     rbx, [rbx]                                                     ; +0x57, 0x1800037a7\nmov     [rsp+48h+var_28], rdi                                          ; +0x5a, 0x1800037aa\nmov     [rsp+48h+var_20], rdi                                          ; +0x5f, 0x1800037af\nmov     [rsp+48h+var_18], rsi                                          ; +0x64, 0x1800037b4\ncmp     rbx, rbp                                                       ; +0x69, 0x1800037b9\njz      short loc_1800037DD                                            ; +0x6c, 0x1800037bc\nxchg    ax, ax                                                         ; +0x6e, 0x1800037be\nmov     rdx, rbx                                                       ; +0x70, 0x1800037c0\nmov     rcx, rdi                                                       ; +0x73, 0x1800037c3\ncall    sub_180003F50                                                  ; +0x76, 0x1800037c6\nadd     rdi, 20h ; ' '                                                 ; +0x7b, 0x1800037cb\nmov     [rsp+48h+var_20], rdi                                          ; +0x7f, 0x1800037cf\nadd     rbx, 20h ; ' '                                                 ; +0x84, 0x1800037d4\ncmp     rbx, rbp                                                       ; +0x88, 0x1800037d8\njnz     short loc_1800037C0                                            ; +0x8b, 0x1800037db\nmov     rdx, rdi                                                       ; +0x8d, 0x1800037dd\nmov     rcx, rdi                                                       ; +0x90, 0x1800037e0\ncall    sub_1800036B0                                                  ; +0x93, 0x1800037e3\nmov     [rsi+8], rdi                                                   ; +0x98, 0x1800037e8\nmov     rax, rsi                                                       ; +0x9c, 0x1800037ec\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x9f, 0x1800037ef\nmov     rbp, [rsp+48h+arg_10]                                          ; +0xa4, 0x1800037f4\nmov     rsi, [rsp+48h+arg_18]                                          ; +0xa9, 0x1800037f9\nadd     rsp, 40h                                                       ; +0xae, 0x1800037fe\npop     rdi                                                            ; +0xb2, 0x180003802\nretn                                                                   ; +0xb3, 0x180003803\ncall    sub_180003530                                                  ; +0xb4, 0x180003804\ndb 0CCh                                                                ; +0xb9, 0x180003809", "xrefs": ["cocos2d::extension::AssetsManager::setSearchPath @ 0x180002423", "cocos2d::extension::CCHttpRequest::getHeaders @ 0x18001d423", "cocos2d::extension::CCHttpRequest::CCHttpRequest @ 0x18001d4ce", "<???> @ 0x18004924c"], "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"}