{"type": "func", "start": 6442809456, "end": 6442809719, "name": "cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture", "pseudocode": "// \n// cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture from 0x180057870 to 0x180057977 (263 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f6948\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b29b8\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\nstruct cocos2d::CCProgressTimer *__fastcall cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture(\n        cocos2d::CCTransitionProgressInOut *this,\n        struct cocos2d::CCRenderTexture *a2)\n{\n  cocos2d::CCDirector *v3; // rax\n  struct cocos2d::CCSprite *v4; // rax\n  struct cocos2d::CCProgressTimer *v5; // rdi\n  cocos2d::CCProgressTimer_vtbl *v6; // rbx\n  float *v7; // rax\n  float *v8; // rax\n  cocos2d::CCProgressTimer_vtbl *v9; // rbx\n  float *v10; // rax\n  float *v11; // rax\n  float v13; // [rsp+48h] [rbp+10h]\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);\n  v4 = (struct cocos2d::CCSprite *)((__int64 (__fastcall *)(struct cocos2d::CCRenderTexture *))a2->getSprite)(a2);\n  v5 = cocos2d::CCProgressTimer::create(v4);\n  cocos2d::CCSprite::setFlipY(v5->m_pSprite, 1);\n  cocos2d::CCProgressTimer::setType(v5, kCCProgressTimerTypeBar);\n  v6 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v7 = kmVec2Fill(&v15, 0.5, 0.5);\n  ((void (__fastcall *)(struct cocos2d::CCProgressTimer *, float *))v6->setMidpoint)(v5, v7);\n  v8 = kmVec2Fill(&v15, 1.0, 1.0);\n  cocos2d::CCSize::operator=(&v5->m_tBarChangeRate, v8);\n  cocos2d::CCProgressTimer::setPercentage(v5, 0.0);\n  v9 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v10 = kmVec2Fill(&v15, v13 * 0.5, v14 * 0.5);\n  ((void (__fastcall *)(struct cocos2d::CCProgressTimer *, float *))v9->setPosition_0)(v5, v10);\n  v11 = kmVec2Fill(&v15, 0.5, 0.5);\n  cocos2d::CCProgressTimer::setAnchorPoint(v5, (struct cocos2d::CCPoint)v11);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture from 0x180057870 to 0x180057977 (263 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f6948\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b29b8\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, 0x180057870\npush    rdi                                                            ; +0x5, 0x180057875\nsub     rsp, 30h                                                       ; +0x6, 0x180057876\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18005787a\nmov     rbx, rdx                                                       ; +0xf, 0x18005787f\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x180057882\nmov     rcx, rax                                                       ; +0x17, 0x180057887\nlea     rdx, [rsp+38h+arg_8]                                           ; +0x1a, 0x18005788a\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1f, 0x18005788f\nmov     rax, [rbx]                                                     ; +0x24, 0x180057894\nmov     rcx, rbx                                                       ; +0x27, 0x180057897\ncall    qword ptr [rax+368h]                                           ; +0x2a, 0x18005789a\nmov     rcx, rax; struct cocos2d::CCSprite *                           ; +0x30, 0x1800578a0\ncall    ?create@CCProgressTimer@cocos2d@@SAPEAV12@PEAVCCSprite@2@@Z; cocos2d::CCProgressTimer::create(cocos2d::CCSprite *) ; +0x33, 0x1800578a3\nmov     dl, 1; bool                                                    ; +0x38, 0x1800578a8\nmov     rdi, rax                                                       ; +0x3a, 0x1800578aa\nmov     rcx, [rax+160h]; this                                          ; +0x3d, 0x1800578ad\ncall    ?setFlipY@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipY(bool) ; +0x44, 0x1800578b4\nmov     edx, 1                                                         ; +0x49, 0x1800578b9\nmov     rcx, rdi                                                       ; +0x4e, 0x1800578be\ncall    ?setType@CCProgressTimer@cocos2d@@QEAAXW4CCProgressTimerType@2@@Z; cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimerType) ; +0x51, 0x1800578c1\nmovss   xmm6, cs:dword_1800E6308                                       ; +0x56, 0x1800578c6\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x5e, 0x1800578ce\nmov     rbx, [rdi]                                                     ; +0x63, 0x1800578d3\nmovaps  xmm2, xmm6                                                     ; +0x66, 0x1800578d6\nmovaps  xmm1, xmm6                                                     ; +0x69, 0x1800578d9\ncall    kmVec2Fill                                                     ; +0x6c, 0x1800578dc\nmov     rdx, rax                                                       ; +0x71, 0x1800578e1\nmov     rcx, rdi                                                       ; +0x74, 0x1800578e4\ncall    qword ptr [rbx+380h]                                           ; +0x77, 0x1800578e7\nmovss   xmm1, cs:flt_1800E61A8                                         ; +0x7d, 0x1800578ed\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x85, 0x1800578f5\nmovaps  xmm2, xmm1                                                     ; +0x8a, 0x1800578fa\ncall    kmVec2Fill                                                     ; +0x8d, 0x1800578fd\nlea     rcx, [rdi+180h]                                                ; +0x92, 0x180057902\nmov     rdx, rax                                                       ; +0x99, 0x180057909\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x9c, 0x18005790c\nxorps   xmm1, xmm1; float                                              ; +0xa1, 0x180057911\nmov     rcx, rdi; this                                                 ; +0xa4, 0x180057914\ncall    ?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0xa7, 0x180057917\nmovss   xmm2, [rsp+38h+arg_C]                                          ; +0xac, 0x18005791c\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xb2, 0x180057922\nmovss   xmm1, [rsp+38h+arg_8]                                          ; +0xb7, 0x180057927\nmov     rbx, [rdi]                                                     ; +0xbd, 0x18005792d\nmulss   xmm2, xmm6                                                     ; +0xc0, 0x180057930\nmulss   xmm1, xmm6                                                     ; +0xc4, 0x180057934\ncall    kmVec2Fill                                                     ; +0xc8, 0x180057938\nmov     rdx, rax                                                       ; +0xcd, 0x18005793d\nmov     rcx, rdi                                                       ; +0xd0, 0x180057940\ncall    qword ptr [rbx+0B8h]                                           ; +0xd3, 0x180057943\nmovaps  xmm2, xmm6                                                     ; +0xd9, 0x180057949\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xdc, 0x18005794c\nmovaps  xmm1, xmm6                                                     ; +0xe1, 0x180057951\ncall    kmVec2Fill                                                     ; +0xe4, 0x180057954\nmov     rdx, rax                                                       ; +0xe9, 0x180057959\nmov     rcx, rdi                                                       ; +0xec, 0x18005795c\ncall    ?setAnchorPoint@CCProgressTimer@cocos2d@@QEAAXVCCPoint@2@@Z; cocos2d::CCProgressTimer::setAnchorPoint(cocos2d::CCPoint) ; +0xef, 0x18005795f\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xf4, 0x180057964\nmov     rax, rdi                                                       ; +0xf9, 0x180057969\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xfc, 0x18005796c\nadd     rsp, 30h                                                       ; +0x101, 0x180057971\npop     rdi                                                            ; +0x105, 0x180057975\nretn                                                                   ; +0x106, 0x180057976", "xrefs": ["<???> @ 0x1800f6948", "<???> @ 0x1801438a8", "<???> @ 0x1801b29b8"], "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"}