{"type": "func", "start": 6442687296, "end": 6442687449, "name": "cocos2d::CCProgressTo::create", "pseudocode": "// \n// cocos2d::CCProgressTo::create from 0x180039b40 to 0x180039bd9 (153 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801badec\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:21:36 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCProgressTo *__fastcall cocos2d::CCProgressTo::create(float a1, float a2)\n{\n  __int64 v2; // rbx\n\n  v2 = sub_1800E4AC0(0x68u);\n  if ( v2 )\n  {\n    *(_OWORD *)v2 = 0;\n    *(_OWORD *)(v2 + 16) = 0;\n    *(_OWORD *)(v2 + 32) = 0;\n    *(_OWORD *)(v2 + 48) = 0;\n    *(_OWORD *)(v2 + 64) = 0;\n    *(_OWORD *)(v2 + 80) = 0;\n    *(_QWORD *)(v2 + 96) = 0;\n    cocos2d::CCAction::CCAction((cocos2d::CCAction *)v2);\n    *(_DWORD *)(v2 + 80) = 0;\n    *(_QWORD *)v2 = &cocos2d::CCProgressTo::`vftable';\n  }\n  else\n  {\n    v2 = 0;\n  }\n  if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v2, a1) )\n    *(float *)(v2 + 96) = a2;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  return (struct cocos2d::CCProgressTo *)v2;\n}", "assembly": "; \n; cocos2d::CCProgressTo::create from 0x180039b40 to 0x180039bd9 (153 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801badec\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:21:36 +0000\n; \npush    rbx                                                            ; +0x0, 0x180039b40\nsub     rsp, 40h                                                       ; +0x2, 0x180039b42\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x6, 0x180039b46\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0xb, 0x180039b4b\nmovaps  xmm6, xmm1                                                     ; +0x10, 0x180039b50\nmovaps  xmm7, xmm0                                                     ; +0x13, 0x180039b53\nmov     ecx, 68h ; 'h'; Size                                           ; +0x16, 0x180039b56\ncall    sub_1800E4AC0                                                  ; +0x1b, 0x180039b5b\nmov     rbx, rax                                                       ; +0x20, 0x180039b60\nmov     [rsp+48h+arg_10], rax                                          ; +0x23, 0x180039b63\ntest    rax, rax                                                       ; +0x28, 0x180039b68\njz      short loc_180039BA8                                            ; +0x2b, 0x180039b6b\nxorps   xmm2, xmm2                                                     ; +0x2d, 0x180039b6d\nxor     eax, eax                                                       ; +0x30, 0x180039b70\nmovups  xmmword ptr [rbx], xmm2                                        ; +0x32, 0x180039b72\nmovups  xmmword ptr [rbx+10h], xmm2                                    ; +0x35, 0x180039b75\nmovups  xmmword ptr [rbx+20h], xmm2                                    ; +0x39, 0x180039b79\nmovups  xmmword ptr [rbx+30h], xmm2                                    ; +0x3d, 0x180039b7d\nmovups  xmmword ptr [rbx+40h], xmm2                                    ; +0x41, 0x180039b81\nmovups  xmmword ptr [rbx+50h], xmm2                                    ; +0x45, 0x180039b85\nmov     [rbx+60h], rax                                                 ; +0x49, 0x180039b89\nmov     rcx, rbx; this                                                 ; +0x4d, 0x180039b8d\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x50, 0x180039b90\nmov     dword ptr [rbx+50h], 0                                         ; +0x55, 0x180039b95\nlea     rax, ??_7CCProgressTo@cocos2d@@6B@; const cocos2d::CCProgressTo::`vftable' ; +0x5c, 0x180039b9c\nmov     [rbx], rax                                                     ; +0x63, 0x180039ba3\njmp     short loc_180039BAA                                            ; +0x66, 0x180039ba6\nxor     ebx, ebx                                                       ; +0x68, 0x180039ba8\nmovaps  xmm1, xmm7; float                                              ; +0x6a, 0x180039baa\nmov     rcx, rbx; this                                                 ; +0x6d, 0x180039bad\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x70, 0x180039bb0\ntest    al, al                                                         ; +0x75, 0x180039bb5\njz      short loc_180039BBE                                            ; +0x77, 0x180039bb7\nmovss   dword ptr [rbx+60h], xmm6                                      ; +0x79, 0x180039bb9\nmov     rcx, rbx; this                                                 ; +0x7e, 0x180039bbe\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x81, 0x180039bc1\nmov     rax, rbx                                                       ; +0x86, 0x180039bc6\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x89, 0x180039bc9\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x8e, 0x180039bce\nadd     rsp, 40h                                                       ; +0x93, 0x180039bd3\npop     rbx                                                            ; +0x97, 0x180039bd7\nretn                                                                   ; +0x98, 0x180039bd8", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801badec"], "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"}