{"type": "func", "start": 6442570704, "end": 6442570762, "name": "cocos2d::extension::CCHttpRequest::setHeaders", "pseudocode": "// \n// cocos2d::extension::CCHttpRequest::setHeaders from 0x18001d3d0 to 0x18001d40a (58 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004afbc\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\n__int64 __fastcall cocos2d::extension::CCHttpRequest::setHeaders(__int64 a1, _QWORD *a2)\n{\n  _QWORD *v3; // rcx\n\n  v3 = (_QWORD *)(a1 + 176);\n  if ( v3 != a2 )\n    sub_18001DB70(v3, *a2, (__int64)(a2[1] - *a2) >> 5);\n  return sub_180003630(a2);\n}", "assembly": "; \n; cocos2d::extension::CCHttpRequest::setHeaders from 0x18001d3d0 to 0x18001d40a (58 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004afbc\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], rdx                                               ; +0x0, 0x18001d3d0\npush    rbx                                                            ; +0x5, 0x18001d3d5\nsub     rsp, 20h                                                       ; +0x6, 0x18001d3d6\nmov     rbx, rdx                                                       ; +0xa, 0x18001d3da\nadd     rcx, 0B0h                                                      ; +0xd, 0x18001d3dd\ncmp     rcx, rdx                                                       ; +0x14, 0x18001d3e4\njz      short loc_18001D3FD                                            ; +0x17, 0x18001d3e7\nmov     rdx, [rdx]                                                     ; +0x19, 0x18001d3e9\nmov     r8, [rbx+8]                                                    ; +0x1c, 0x18001d3ec\nsub     r8, rdx                                                        ; +0x20, 0x18001d3f0\nsar     r8, 5                                                          ; +0x23, 0x18001d3f3\ncall    sub_18001DB70                                                  ; +0x27, 0x18001d3f7\nnop                                                                    ; +0x2c, 0x18001d3fc\nmov     rcx, rbx                                                       ; +0x2d, 0x18001d3fd\nadd     rsp, 20h                                                       ; +0x30, 0x18001d400\npop     rbx                                                            ; +0x34, 0x18001d404\njmp     sub_180003630                                                  ; +0x35, 0x18001d405", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004afbc"], "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"}