{"type": "func", "start": 6442950608, "end": 6442950872, "name": "cocos2d::CCFileUtils::operator=", "pseudocode": "// \n// cocos2d::CCFileUtils::operator= from 0x180079fd0 to 0x18007a0d8 (264 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCFileUtilsWin32::operator= @ 0x18007a0e9\n// > <???> @ 0x18013bc28\n// > <???> @ 0x18013bc5c\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4c2c\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__int64 __fastcall cocos2d::CCFileUtils::operator=(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rcx\n  void *v5; // rdx\n  __int64 v6; // r14\n  _QWORD *v7; // rbx\n  void *v8; // rdx\n\n  *(_QWORD *)(a1 + 8) = *(_QWORD *)(a2 + 8);\n  v4 = a1 + 16;\n  if ( v4 != a2 + 16 )\n    sub_1800798E0(v4, *(void ***)(a2 + 16), (__int64)(*(_QWORD *)(a2 + 24) - *(_QWORD *)(a2 + 16)) >> 5);\n  if ( a1 + 40 != a2 + 40 )\n    sub_1800798E0(a1 + 40, *(void ***)(a2 + 40), (__int64)(*(_QWORD *)(a2 + 48) - *(_QWORD *)(a2 + 40)) >> 5);\n  if ( a1 + 64 != a2 + 64 )\n  {\n    v5 = (void *)(a2 + 64);\n    if ( *(_QWORD *)(a2 + 88) > 0xFu )\n      v5 = *(void **)(a2 + 64);\n    sub_180010050((void **)(a1 + 64), v5, *(_QWORD *)(a2 + 80));\n  }\n  v6 = a1 + 96;\n  if ( a1 + 96 != a2 + 96 )\n  {\n    v7 = *(_QWORD **)v6;\n    sub_18006C6D0(a1 + 96, a1 + 96, *(char **)(*(_QWORD *)v6 + 8LL));\n    v7[1] = v7;\n    *v7 = v7;\n    v7[2] = v7;\n    *(_QWORD *)(a1 + 104) = 0;\n    sub_180079AE0((_QWORD *)(a1 + 96), (_QWORD *)(a2 + 96));\n  }\n  if ( a1 + 112 != a2 + 112 )\n  {\n    v8 = (void *)(a2 + 112);\n    if ( *(_QWORD *)(a2 + 136) > 0xFu )\n      v8 = *(void **)(a2 + 112);\n    sub_180010050((void **)(a1 + 112), v8, *(_QWORD *)(a2 + 128));\n  }\n  return a1;\n}", "assembly": "; \n; cocos2d::CCFileUtils::operator= from 0x180079fd0 to 0x18007a0d8 (264 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCFileUtilsWin32::operator= @ 0x18007a0e9\n; > <???> @ 0x18013bc28\n; > <???> @ 0x18013bc5c\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4c2c\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    rdi                                                            ; +0x0, 0x180079fd0\nsub     rsp, 20h                                                       ; +0x2, 0x180079fd2\nmov     rax, [rdx+8]                                                   ; +0x6, 0x180079fd6\nlea     r8, [rdx+10h]                                                  ; +0xa, 0x180079fda\nmov     [rsp+28h+arg_8], rbp                                           ; +0xe, 0x180079fde\nmov     rdi, rcx                                                       ; +0x13, 0x180079fe3\nmov     [rsp+28h+arg_10], rsi                                          ; +0x16, 0x180079fe6\nmov     rsi, rdx                                                       ; +0x1b, 0x180079feb\nmov     [rcx+8], rax                                                   ; +0x1e, 0x180079fee\nadd     rcx, 10h                                                       ; +0x22, 0x180079ff2\nmov     [rsp+28h+arg_18], r14                                          ; +0x26, 0x180079ff6\ncmp     rcx, r8                                                        ; +0x2b, 0x180079ffb\njz      short loc_18007A013                                            ; +0x2e, 0x180079ffe\nmov     rdx, [r8]                                                      ; +0x30, 0x18007a000\nmov     r8, [r8+8]                                                     ; +0x33, 0x18007a003\nsub     r8, rdx                                                        ; +0x37, 0x18007a007\nsar     r8, 5                                                          ; +0x3a, 0x18007a00a\ncall    sub_1800798E0                                                  ; +0x3e, 0x18007a00e\nlea     r8, [rsi+28h]                                                  ; +0x43, 0x18007a013\nlea     rcx, [rdi+28h]                                                 ; +0x47, 0x18007a017\ncmp     rcx, r8                                                        ; +0x4b, 0x18007a01b\njz      short loc_18007A033                                            ; +0x4e, 0x18007a01e\nmov     rdx, [r8]                                                      ; +0x50, 0x18007a020\nmov     r8, [r8+8]                                                     ; +0x53, 0x18007a023\nsub     r8, rdx                                                        ; +0x57, 0x18007a027\nsar     r8, 5                                                          ; +0x5a, 0x18007a02a\ncall    sub_1800798E0                                                  ; +0x5e, 0x18007a02e\nlea     r8, [rsi+40h]                                                  ; +0x63, 0x18007a033\nlea     rcx, [rdi+40h]; void *                                         ; +0x67, 0x18007a037\ncmp     rcx, r8                                                        ; +0x6b, 0x18007a03b\njz      short loc_18007A056                                            ; +0x6e, 0x18007a03e\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x70, 0x18007a040\nmov     rdx, r8                                                        ; +0x75, 0x18007a045\njbe     short loc_18007A04D                                            ; +0x78, 0x18007a048\nmov     rdx, [r8]; Src                                                 ; +0x7a, 0x18007a04a\nmov     r8, [r8+10h]; Size                                             ; +0x7d, 0x18007a04d\ncall    sub_180010050                                                  ; +0x81, 0x18007a051\nlea     rbp, [rsi+60h]                                                 ; +0x86, 0x18007a056\nlea     r14, [rdi+60h]                                                 ; +0x8a, 0x18007a05a\ncmp     r14, rbp                                                       ; +0x8e, 0x18007a05e\njz      short loc_18007A09D                                            ; +0x91, 0x18007a061\nmov     [rsp+28h+arg_0], rbx                                           ; +0x93, 0x18007a063\nmov     rdx, r14                                                       ; +0x98, 0x18007a068\nmov     rbx, [r14]                                                     ; +0x9b, 0x18007a06b\nmov     rcx, r14                                                       ; +0x9e, 0x18007a06e\nmov     r8, [rbx+8]                                                    ; +0xa1, 0x18007a071\ncall    sub_18006C6D0                                                  ; +0xa5, 0x18007a075\nmov     [rbx+8], rbx                                                   ; +0xaa, 0x18007a07a\nmov     rdx, rbp                                                       ; +0xae, 0x18007a07e\nmov     [rbx], rbx                                                     ; +0xb1, 0x18007a081\nmov     rcx, r14                                                       ; +0xb4, 0x18007a084\nmov     [rbx+10h], rbx                                                 ; +0xb7, 0x18007a087\nmov     qword ptr [r14+8], 0                                           ; +0xbb, 0x18007a08b\ncall    sub_180079AE0                                                  ; +0xc3, 0x18007a093\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc8, 0x18007a098\nmov     r14, [rsp+28h+arg_18]                                          ; +0xcd, 0x18007a09d\nlea     r8, [rsi+70h]                                                  ; +0xd2, 0x18007a0a2\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xd6, 0x18007a0a6\nlea     rcx, [rdi+70h]; void *                                         ; +0xdb, 0x18007a0ab\nmov     rbp, [rsp+28h+arg_8]                                           ; +0xdf, 0x18007a0af\ncmp     rcx, r8                                                        ; +0xe4, 0x18007a0b4\njz      short loc_18007A0CF                                            ; +0xe7, 0x18007a0b7\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0xe9, 0x18007a0b9\nmov     rdx, r8                                                        ; +0xee, 0x18007a0be\njbe     short loc_18007A0C6                                            ; +0xf1, 0x18007a0c1\nmov     rdx, [r8]; Src                                                 ; +0xf3, 0x18007a0c3\nmov     r8, [r8+10h]; Size                                             ; +0xf6, 0x18007a0c6\ncall    sub_180010050                                                  ; +0xfa, 0x18007a0ca\nmov     rax, rdi                                                       ; +0xff, 0x18007a0cf\nadd     rsp, 20h                                                       ; +0x102, 0x18007a0d2\npop     rdi                                                            ; +0x106, 0x18007a0d6\nretn                                                                   ; +0x107, 0x18007a0d7", "xrefs": ["cocos2d::CCFileUtilsWin32::operator= @ 0x18007a0e9", "<???> @ 0x18013bc28", "<???> @ 0x18013bc5c", "<???> @ 0x1801438a8", "<???> @ 0x1801b4c2c"], "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"}