{"type": "func", "start": 6442843248, "end": 6442843369, "name": "cocos2d::CCProgressTimer::create", "pseudocode": "// \n// cocos2d::CCProgressTimer::create from 0x18005fc70 to 0x18005fce9 (121 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800596b3\n// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800597c3\n// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800598d3\n// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x1800599e3\n// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180059ab3\n// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180059b83\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd4a4\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:50 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCProgressTimer *__fastcall cocos2d::CCProgressTimer::create(struct cocos2d::CCSprite *a1)\n{\n  cocos2d::CCProgressTimer *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = (cocos2d::CCProgressTimer *)sub_1800E4AC0(0x190u);\n  if ( v2 )\n    v3 = cocos2d::CCProgressTimer::CCProgressTimer(v2);\n  else\n    v3 = nullptr;\n  if ( cocos2d::CCProgressTimer::initWithSprite(v3, a1) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n    return v3;\n  }\n  else\n  {\n    if ( v3 )\n      (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; cocos2d::CCProgressTimer::create from 0x18005fc70 to 0x18005fce9 (121 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800596b3\n; > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800597c3\n; > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800598d3\n; > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x1800599e3\n; > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180059ab3\n; > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180059b83\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd4a4\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:50 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005fc70\npush    rdi                                                            ; +0x5, 0x18005fc75\nsub     rsp, 20h                                                       ; +0x6, 0x18005fc76\nmov     rdi, rcx                                                       ; +0xa, 0x18005fc7a\nmov     ecx, 190h; Size                                                ; +0xd, 0x18005fc7d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x18005fc82\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x18005fc87\ntest    rax, rax                                                       ; +0x1c, 0x18005fc8c\njz      short loc_18005FC9E                                            ; +0x1f, 0x18005fc8f\nmov     rcx, rax; this                                                 ; +0x21, 0x18005fc91\ncall    ??0CCProgressTimer@cocos2d@@QEAA@XZ; cocos2d::CCProgressTimer::CCProgressTimer(void) ; +0x24, 0x18005fc94\nmov     rbx, rax                                                       ; +0x29, 0x18005fc99\njmp     short loc_18005FCA0                                            ; +0x2c, 0x18005fc9c\nxor     ebx, ebx                                                       ; +0x2e, 0x18005fc9e\nmov     rdx, rdi; struct cocos2d::CCSprite *                           ; +0x30, 0x18005fca0\nmov     rcx, rbx; this                                                 ; +0x33, 0x18005fca3\ncall    ?initWithSprite@CCProgressTimer@cocos2d@@QEAA_NPEAVCCSprite@2@@Z; cocos2d::CCProgressTimer::initWithSprite(cocos2d::CCSprite *) ; +0x36, 0x18005fca6\ntest    al, al                                                         ; +0x3b, 0x18005fcab\njz      short loc_18005FCC5                                            ; +0x3d, 0x18005fcad\nmov     rcx, rbx; this                                                 ; +0x3f, 0x18005fcaf\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x42, 0x18005fcb2\nmov     rax, rbx                                                       ; +0x47, 0x18005fcb7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4a, 0x18005fcba\nadd     rsp, 20h                                                       ; +0x4f, 0x18005fcbf\npop     rdi                                                            ; +0x53, 0x18005fcc3\nretn                                                                   ; +0x54, 0x18005fcc4\ntest    rbx, rbx                                                       ; +0x55, 0x18005fcc5\njz      short loc_18005FCDC                                            ; +0x58, 0x18005fcc8\nmov     rcx, [rbx]                                                     ; +0x5a, 0x18005fcca\nmov     r8, [rcx+8]                                                    ; +0x5d, 0x18005fccd\nmov     edx, 1                                                         ; +0x61, 0x18005fcd1\nmov     rcx, rbx                                                       ; +0x66, 0x18005fcd6\ncall    r8                                                             ; +0x69, 0x18005fcd9\nxor     eax, eax                                                       ; +0x6c, 0x18005fcdc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6e, 0x18005fcde\nadd     rsp, 20h                                                       ; +0x73, 0x18005fce3\npop     rdi                                                            ; +0x77, 0x18005fce7\nretn                                                                   ; +0x78, 0x18005fce8", "xrefs": ["cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800596b3", "cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800597c3", "cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800598d3", "cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x1800599e3", "cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180059ab3", "cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180059b83", "<???> @ 0x18014cf68", "<???> @ 0x1801bd4a4"], "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"}