{"type": "func", "start": 6443315024, "end": 6443315130, "name": "cocos2d::CCPrettyPrinter::operator=", "pseudocode": "// \n// cocos2d::CCPrettyPrinter::operator= from 0x1800d2f50 to 0x1800d2fba (106 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c44a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:31 +0000\n// \n\n__int64 __fastcall cocos2d::CCPrettyPrinter::operator=(__int64 a1, __int64 a2)\n{\n  __int64 v2; // r8\n  void **v4; // rcx\n  void *v6; // rdx\n  void *v7; // rdx\n\n  v2 = a2 + 16;\n  *(_DWORD *)(a1 + 8) = *(_DWORD *)(a2 + 8);\n  v4 = (void **)(a1 + 16);\n  if ( v4 != (void **)(a2 + 16) )\n  {\n    v6 = (void *)(a2 + 16);\n    if ( *(_QWORD *)(v2 + 24) > 0xFu )\n      v6 = *(void **)v2;\n    sub_1800101E0(v4, v6, *(_QWORD *)(v2 + 16));\n  }\n  if ( a1 + 48 != a2 + 48 )\n  {\n    v7 = (void *)(a2 + 48);\n    if ( *(_QWORD *)(a2 + 72) > 0xFu )\n      v7 = *(void **)(a2 + 48);\n    sub_1800101E0((void **)(a1 + 48), v7, *(_QWORD *)(a2 + 64));\n  }\n  return a1;\n}", "assembly": "; \n; cocos2d::CCPrettyPrinter::operator= from 0x1800d2f50 to 0x1800d2fba (106 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c44a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:31 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800d2f50\npush    rdi                                                            ; +0x5, 0x1800d2f55\nsub     rsp, 20h                                                       ; +0x6, 0x1800d2f56\nmov     eax, [rdx+8]                                                   ; +0xa, 0x1800d2f5a\nlea     r8, [rdx+10h]                                                  ; +0xd, 0x1800d2f5d\nmov     [rcx+8], eax                                                   ; +0x11, 0x1800d2f61\nmov     rbx, rcx                                                       ; +0x14, 0x1800d2f64\nadd     rcx, 10h; void *                                               ; +0x17, 0x1800d2f67\nmov     rdi, rdx                                                       ; +0x1b, 0x1800d2f6b\ncmp     rcx, r8                                                        ; +0x1e, 0x1800d2f6e\njz      short loc_1800D2F89                                            ; +0x21, 0x1800d2f71\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x23, 0x1800d2f73\nmov     rdx, r8                                                        ; +0x28, 0x1800d2f78\njbe     short loc_1800D2F80                                            ; +0x2b, 0x1800d2f7b\nmov     rdx, [r8]; Src                                                 ; +0x2d, 0x1800d2f7d\nmov     r8, [r8+10h]; Size                                             ; +0x30, 0x1800d2f80\ncall    sub_1800101E0                                                  ; +0x34, 0x1800d2f84\nlea     r8, [rdi+30h]                                                  ; +0x39, 0x1800d2f89\nlea     rcx, [rbx+30h]; void *                                         ; +0x3d, 0x1800d2f8d\ncmp     rcx, r8                                                        ; +0x41, 0x1800d2f91\njz      short loc_1800D2FAC                                            ; +0x44, 0x1800d2f94\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x46, 0x1800d2f96\nmov     rdx, r8                                                        ; +0x4b, 0x1800d2f9b\njbe     short loc_1800D2FA3                                            ; +0x4e, 0x1800d2f9e\nmov     rdx, [r8]; Src                                                 ; +0x50, 0x1800d2fa0\nmov     r8, [r8+10h]; Size                                             ; +0x53, 0x1800d2fa3\ncall    sub_1800101E0                                                  ; +0x57, 0x1800d2fa7\nmov     rax, rbx                                                       ; +0x5c, 0x1800d2fac\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5f, 0x1800d2faf\nadd     rsp, 20h                                                       ; +0x64, 0x1800d2fb4\npop     rdi                                                            ; +0x68, 0x1800d2fb8\nretn                                                                   ; +0x69, 0x1800d2fb9", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c44a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}