{"type": "func", "start": 6442649824, "end": 6442649926, "name": "sub_1800308E0", "pseudocode": "// \n// sub_1800308E0 from 0x1800308e0 to 0x180030946 (102 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCAnimate::initWithAnimation @ 0x180035367\n// > <???> @ 0x1801b01c8\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_1800308E0(__int64 a1, _QWORD *a2)\n{\n  __int64 v4; // rdi\n  _QWORD *v5; // rsi\n\n  v4 = (__int64)(*(_QWORD *)(a1 + 8) - *(_QWORD *)a1) >> 2;\n  v5 = sub_180030700(a1, a2);\n  memmove(v5, *(const void **)a1, *(_QWORD *)(a1 + 8) - *(_QWORD *)a1);\n  return sub_1800317D0(a1, v5, v4, *a2);\n}", "assembly": "; \n; sub_1800308E0 from 0x1800308e0 to 0x180030946 (102 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCAnimate::initWithAnimation @ 0x180035367\n; > <???> @ 0x1801b01c8\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, 0x1800308e0\nmov     [rsp+arg_8], rdx                                               ; +0x5, 0x1800308e5\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x1800308ea\npush    rsi                                                            ; +0xf, 0x1800308ef\npush    rdi                                                            ; +0x10, 0x1800308f0\npush    r14                                                            ; +0x11, 0x1800308f1\nsub     rsp, 20h                                                       ; +0x13, 0x1800308f3\nmov     r14, rdx                                                       ; +0x17, 0x1800308f7\nmov     rbx, rcx                                                       ; +0x1a, 0x1800308fa\nmov     rdi, [rcx+8]                                                   ; +0x1d, 0x1800308fd\nsub     rdi, [rcx]                                                     ; +0x21, 0x180030901\nsar     rdi, 2                                                         ; +0x24, 0x180030904\ncall    sub_180030700                                                  ; +0x28, 0x180030908\nmov     rsi, rax                                                       ; +0x2d, 0x18003090d\nmov     [rsp+38h+arg_10], rax                                          ; +0x30, 0x180030910\nmov     r8, [rbx+8]                                                    ; +0x35, 0x180030915\nmov     rdx, [rbx]; Src                                                ; +0x39, 0x180030919\nsub     r8, rdx; Size                                                  ; +0x3c, 0x18003091c\nmov     rcx, rax; void *                                               ; +0x3f, 0x18003091f\ncall    memmove                                                        ; +0x42, 0x180030922\nnop                                                                    ; +0x47, 0x180030927\nmov     r9, [r14]                                                      ; +0x48, 0x180030928\nmov     r8, rdi                                                        ; +0x4b, 0x18003092b\nmov     rdx, rsi                                                       ; +0x4e, 0x18003092e\nmov     rcx, rbx                                                       ; +0x51, 0x180030931\nmov     rbx, [rsp+38h+arg_18]                                          ; +0x54, 0x180030934\nadd     rsp, 20h                                                       ; +0x59, 0x180030939\npop     r14                                                            ; +0x5d, 0x18003093d\npop     rdi                                                            ; +0x5f, 0x18003093f\npop     rsi                                                            ; +0x60, 0x180030940\njmp     sub_1800317D0                                                  ; +0x61, 0x180030941", "xrefs": ["cocos2d::CCAnimate::initWithAnimation @ 0x180035367", "<???> @ 0x1801b01c8"], "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"}