{"type": "func", "start": 6442741536, "end": 6442741637, "name": "sub_180046F20", "pseudocode": "// \n// sub_180046F20 from 0x180046f20 to 0x180046f85 (101 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd4c\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd71\n// > <???> @ 0x1801b17b8\n// > <???> @ 0x1801b17c4\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 sub_180046F20(__int64 a1, _QWORD *a2)\n{\n  __int64 v4; // rdi\n  _QWORD *v5; // rsi\n\n  v4 = (__int64)(*(_QWORD *)(a1 + 8) - *(_QWORD *)a1) >> 1;\n  v5 = sub_180046A50(a1, a2);\n  memmove(v5, *(const void **)a1, *(_QWORD *)(a1 + 8) - *(_QWORD *)a1);\n  return sub_180047970(a1, v5, v4, *a2);\n}", "assembly": "; \n; sub_180046F20 from 0x180046f20 to 0x180046f85 (101 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd4c\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd71\n; > <???> @ 0x1801b17b8\n; > <???> @ 0x1801b17c4\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_18], rbx                                              ; +0x0, 0x180046f20\nmov     [rsp+arg_8], rdx                                               ; +0x5, 0x180046f25\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x180046f2a\npush    rsi                                                            ; +0xf, 0x180046f2f\npush    rdi                                                            ; +0x10, 0x180046f30\npush    r14                                                            ; +0x11, 0x180046f31\nsub     rsp, 20h                                                       ; +0x13, 0x180046f33\nmov     r14, rdx                                                       ; +0x17, 0x180046f37\nmov     rbx, rcx                                                       ; +0x1a, 0x180046f3a\nmov     rdi, [rcx+8]                                                   ; +0x1d, 0x180046f3d\nsub     rdi, [rcx]                                                     ; +0x21, 0x180046f41\nsar     rdi, 1                                                         ; +0x24, 0x180046f44\ncall    sub_180046A50                                                  ; +0x27, 0x180046f47\nmov     rsi, rax                                                       ; +0x2c, 0x180046f4c\nmov     [rsp+38h+arg_10], rax                                          ; +0x2f, 0x180046f4f\nmov     r8, [rbx+8]                                                    ; +0x34, 0x180046f54\nmov     rdx, [rbx]; Src                                                ; +0x38, 0x180046f58\nsub     r8, rdx; Size                                                  ; +0x3b, 0x180046f5b\nmov     rcx, rax; void *                                               ; +0x3e, 0x180046f5e\ncall    memmove                                                        ; +0x41, 0x180046f61\nnop                                                                    ; +0x46, 0x180046f66\nmov     r9, [r14]                                                      ; +0x47, 0x180046f67\nmov     r8, rdi                                                        ; +0x4a, 0x180046f6a\nmov     rdx, rsi                                                       ; +0x4d, 0x180046f6d\nmov     rcx, rbx                                                       ; +0x50, 0x180046f70\nmov     rbx, [rsp+38h+arg_18]                                          ; +0x53, 0x180046f73\nadd     rsp, 20h                                                       ; +0x58, 0x180046f78\npop     r14                                                            ; +0x5c, 0x180046f7c\npop     rdi                                                            ; +0x5e, 0x180046f7e\npop     rsi                                                            ; +0x5f, 0x180046f7f\njmp     sub_180047970                                                  ; +0x60, 0x180046f80", "xrefs": ["cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd4c", "cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd71", "<???> @ 0x1801b17b8", "<???> @ 0x1801b17c4"], "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"}