{"type": "func", "start": 6442834608, "end": 6442834726, "name": "cocos2d::CCProgressTimer::create", "pseudocode": "// \n// cocos2d::CCProgressTimer::create from 0x18005dab0 to 0x18005db26 (118 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x180057793\n// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800578a3\n// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800579b3\n// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057ac3\n// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057b93\n// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c63\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b31e0\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// 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::CCProgressTimer *v3; // rbx\n\n  v2 = (cocos2d::CCProgressTimer *)operator new(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::CCProgressTimer *, __int64))v3->~CCProgressTimer)(v3, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; cocos2d::CCProgressTimer::create from 0x18005dab0 to 0x18005db26 (118 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x180057793\n; > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800578a3\n; > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800579b3\n; > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057ac3\n; > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057b93\n; > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c63\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b31e0\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_0], rbx                                               ; +0x0, 0x18005dab0\npush    rdi                                                            ; +0x5, 0x18005dab5\nsub     rsp, 20h                                                       ; +0x6, 0x18005dab6\nmov     rdi, rcx                                                       ; +0xa, 0x18005daba\nmov     ecx, 190h; Size                                                ; +0xd, 0x18005dabd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x18005dac2\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x18005dac7\ntest    rax, rax                                                       ; +0x1c, 0x18005dacc\njz      short loc_18005DADE                                            ; +0x1f, 0x18005dacf\nmov     rcx, rax; this                                                 ; +0x21, 0x18005dad1\ncall    ??0CCProgressTimer@cocos2d@@QEAA@XZ; cocos2d::CCProgressTimer::CCProgressTimer(void) ; +0x24, 0x18005dad4\nmov     rbx, rax                                                       ; +0x29, 0x18005dad9\njmp     short loc_18005DAE0                                            ; +0x2c, 0x18005dadc\nxor     ebx, ebx                                                       ; +0x2e, 0x18005dade\nmov     rdx, rdi; struct cocos2d::CCSprite *                           ; +0x30, 0x18005dae0\nmov     rcx, rbx; this                                                 ; +0x33, 0x18005dae3\ncall    ?initWithSprite@CCProgressTimer@cocos2d@@QEAA_NPEAVCCSprite@2@@Z; cocos2d::CCProgressTimer::initWithSprite(cocos2d::CCSprite *) ; +0x36, 0x18005dae6\ntest    al, al                                                         ; +0x3b, 0x18005daeb\njz      short loc_18005DB05                                            ; +0x3d, 0x18005daed\nmov     rcx, rbx; this                                                 ; +0x3f, 0x18005daef\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x42, 0x18005daf2\nmov     rax, rbx                                                       ; +0x47, 0x18005daf7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4a, 0x18005dafa\nadd     rsp, 20h                                                       ; +0x4f, 0x18005daff\npop     rdi                                                            ; +0x53, 0x18005db03\nretn                                                                   ; +0x54, 0x18005db04\ntest    rbx, rbx                                                       ; +0x55, 0x18005db05\njz      short loc_18005DB19                                            ; +0x58, 0x18005db08\nmov     r8, [rbx]                                                      ; +0x5a, 0x18005db0a\nmov     edx, 1                                                         ; +0x5d, 0x18005db0d\nmov     rcx, rbx                                                       ; +0x62, 0x18005db12\ncall    qword ptr [r8+8]                                               ; +0x65, 0x18005db15\nxor     eax, eax                                                       ; +0x69, 0x18005db19\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6b, 0x18005db1b\nadd     rsp, 20h                                                       ; +0x70, 0x18005db20\npop     rdi                                                            ; +0x74, 0x18005db24\nretn                                                                   ; +0x75, 0x18005db25", "xrefs": ["cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x180057793", "cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800578a3", "cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800579b3", "cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057ac3", "cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057b93", "cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c63", "<???> @ 0x1801438a8", "<???> @ 0x1801b31e0"], "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"}