{"type": "func", "start": 6442818384, "end": 6442818652, "name": "cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture", "pseudocode": "// \n// cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture from 0x180059b50 to 0x180059c5c (268 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fc9d8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcc7c\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:48 +0000\n// \n\nstruct cocos2d::CCProgressTimer *__fastcall cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture(\n        cocos2d::CCTransitionProgressVertical *this,\n        struct cocos2d::CCRenderTexture *a2)\n{\n  struct cocos2d::CCDirector *v3; // rax\n  struct cocos2d::CCSprite *v4; // rax\n  struct cocos2d::CCProgressTimer *v5; // rdi\n  __int64 v6; // rbx\n  float *v7; // rax\n  float *v8; // rax\n  __int64 v9; // rbx\n  float *v10; // rax\n  float *v11; // rax\n  float v13; // [rsp+48h] [rbp+10h] BYREF\n  float v14; // [rsp+4Ch] [rbp+14h]\n  float v15; // [rsp+50h] [rbp+18h] BYREF\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v3, &v13);\n  v4 = (struct cocos2d::CCSprite *)(*(__int64 (__fastcall **)(struct cocos2d::CCRenderTexture *))(*(_QWORD *)a2 + 888LL))(a2);\n  v5 = cocos2d::CCProgressTimer::create(v4);\n  cocos2d::CCSprite::setFlipY(*((cocos2d::CCSprite **)v5 + 44), 1);\n  cocos2d::CCProgressTimer::setType(v5, 1);\n  v6 = *(_QWORD *)v5;\n  v7 = kmVec2Fill(&v15, 0.0, 0.0);\n  (*(void (__fastcall **)(struct cocos2d::CCProgressTimer *, float *))(v6 + 912))(v5, v7);\n  v8 = kmVec2Fill(&v15, 0.0, 1.0);\n  cocos2d::CCSize::operator=((_DWORD *)v5 + 96, v8);\n  cocos2d::CCProgressTimer::setPercentage(v5, 100.0);\n  v9 = *(_QWORD *)v5;\n  v10 = kmVec2Fill(&v15, v13 * 0.5, v14 * 0.5);\n  (*(void (__fastcall **)(struct cocos2d::CCProgressTimer *, float *))(v9 + 184))(v5, v10);\n  v11 = kmVec2Fill(&v15, 0.5, 0.5);\n  cocos2d::CCProgressTimer::setAnchorPoint(v5, v11);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture from 0x180059b50 to 0x180059c5c (268 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fc9d8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcc7c\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:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180059b50\npush    rdi                                                            ; +0x5, 0x180059b55\nsub     rsp, 30h                                                       ; +0x6, 0x180059b56\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180059b5a\nmov     rbx, rdx                                                       ; +0xf, 0x180059b5f\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x180059b62\nmov     rcx, rax                                                       ; +0x17, 0x180059b67\nlea     rdx, [rsp+38h+arg_8]                                           ; +0x1a, 0x180059b6a\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1f, 0x180059b6f\nmov     rax, [rbx]                                                     ; +0x24, 0x180059b74\nmov     rcx, rbx                                                       ; +0x27, 0x180059b77\ncall    qword ptr [rax+378h]                                           ; +0x2a, 0x180059b7a\nmov     rcx, rax; struct cocos2d::CCSprite *                           ; +0x30, 0x180059b80\ncall    ?create@CCProgressTimer@cocos2d@@SAPEAV12@PEAVCCSprite@2@@Z; cocos2d::CCProgressTimer::create(cocos2d::CCSprite *) ; +0x33, 0x180059b83\nmov     dl, 1; bool                                                    ; +0x38, 0x180059b88\nmov     rdi, rax                                                       ; +0x3a, 0x180059b8a\nmov     rcx, [rax+160h]; this                                          ; +0x3d, 0x180059b8d\ncall    ?setFlipY@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipY(bool) ; +0x44, 0x180059b94\nmov     edx, 1                                                         ; +0x49, 0x180059b99\nmov     rcx, rdi                                                       ; +0x4e, 0x180059b9e\ncall    ?setType@CCProgressTimer@cocos2d@@QEAAXW4CCProgressTimerType@2@@Z; cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimerType) ; +0x51, 0x180059ba1\nmov     rbx, [rdi]                                                     ; +0x56, 0x180059ba6\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x59, 0x180059ba9\nxorps   xmm2, xmm2                                                     ; +0x5e, 0x180059bae\nxorps   xmm1, xmm1                                                     ; +0x61, 0x180059bb1\ncall    kmVec2Fill                                                     ; +0x64, 0x180059bb4\nmov     rdx, rax                                                       ; +0x69, 0x180059bb9\nmov     rcx, rdi                                                       ; +0x6c, 0x180059bbc\ncall    qword ptr [rbx+390h]                                           ; +0x6f, 0x180059bbf\nmovss   xmm2, cs:flt_1800EC208                                         ; +0x75, 0x180059bc5\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x7d, 0x180059bcd\nxorps   xmm1, xmm1                                                     ; +0x82, 0x180059bd2\ncall    kmVec2Fill                                                     ; +0x85, 0x180059bd5\nlea     rcx, [rdi+180h]                                                ; +0x8a, 0x180059bda\nmov     rdx, rax                                                       ; +0x91, 0x180059be1\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x94, 0x180059be4\nmovss   xmm1, cs:flt_1800F0280; float                                  ; +0x99, 0x180059be9\nmov     rcx, rdi; this                                                 ; +0xa1, 0x180059bf1\ncall    ?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0xa4, 0x180059bf4\nmovss   xmm2, [rsp+38h+arg_C]                                          ; +0xa9, 0x180059bf9\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xaf, 0x180059bff\nmovss   xmm1, [rsp+38h+arg_8]                                          ; +0xb4, 0x180059c04\nmovss   xmm6, cs:dword_1800EC358                                       ; +0xba, 0x180059c0a\nmov     rbx, [rdi]                                                     ; +0xc2, 0x180059c12\nmulss   xmm2, xmm6                                                     ; +0xc5, 0x180059c15\nmulss   xmm1, xmm6                                                     ; +0xc9, 0x180059c19\ncall    kmVec2Fill                                                     ; +0xcd, 0x180059c1d\nmov     rdx, rax                                                       ; +0xd2, 0x180059c22\nmov     rcx, rdi                                                       ; +0xd5, 0x180059c25\ncall    qword ptr [rbx+0B8h]                                           ; +0xd8, 0x180059c28\nmovaps  xmm2, xmm6                                                     ; +0xde, 0x180059c2e\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xe1, 0x180059c31\nmovaps  xmm1, xmm6                                                     ; +0xe6, 0x180059c36\ncall    kmVec2Fill                                                     ; +0xe9, 0x180059c39\nmov     rdx, rax                                                       ; +0xee, 0x180059c3e\nmov     rcx, rdi                                                       ; +0xf1, 0x180059c41\ncall    ?setAnchorPoint@CCProgressTimer@cocos2d@@QEAAXVCCPoint@2@@Z; cocos2d::CCProgressTimer::setAnchorPoint(cocos2d::CCPoint) ; +0xf4, 0x180059c44\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xf9, 0x180059c49\nmov     rax, rdi                                                       ; +0xfe, 0x180059c4e\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x101, 0x180059c51\nadd     rsp, 30h                                                       ; +0x106, 0x180059c56\npop     rdi                                                            ; +0x10a, 0x180059c5a\nretn                                                                   ; +0x10b, 0x180059c5b", "xrefs": ["<???> @ 0x1800fc9d8", "<???> @ 0x18014cf68", "<???> @ 0x1801bcc7c"], "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"}