{"type": "func", "start": 6442810208, "end": 6442810413, "name": "cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture", "pseudocode": "// \n// cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x180057b60 to 0x180057c2d (205 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f5e98\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b29dc\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::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture(\n        cocos2d::CCTransitionProgressRadialCW *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  float v10; // [rsp+48h] [rbp+10h]\n  float v11; // [rsp+4Ch] [rbp+14h]\n  float v12; // [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, kCCProgressTimerTypeRadial);\n  v5->m_bReverseDirection = 1;\n  cocos2d::CCProgressTimer::setPercentage(v5, 100.0);\n  v6 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v7 = kmVec2Fill(&v12, v10 * 0.5, v11 * 0.5);\n  ((void (__fastcall *)(struct cocos2d::CCProgressTimer *, float *))v6->setPosition_0)(v5, v7);\n  v8 = kmVec2Fill(&v12, 0.5, 0.5);\n  cocos2d::CCProgressTimer::setAnchorPoint(v5, (struct cocos2d::CCPoint)v8);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture from 0x180057b60 to 0x180057c2d (205 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f5e98\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b29dc\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, 0x180057b60\npush    rdi                                                            ; +0x5, 0x180057b65\nsub     rsp, 30h                                                       ; +0x6, 0x180057b66\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180057b6a\nmov     rbx, rdx                                                       ; +0xf, 0x180057b6f\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x180057b72\nmov     rcx, rax                                                       ; +0x17, 0x180057b77\nlea     rdx, [rsp+38h+arg_8]                                           ; +0x1a, 0x180057b7a\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1f, 0x180057b7f\nmov     rax, [rbx]                                                     ; +0x24, 0x180057b84\nmov     rcx, rbx                                                       ; +0x27, 0x180057b87\ncall    qword ptr [rax+368h]                                           ; +0x2a, 0x180057b8a\nmov     rcx, rax; struct cocos2d::CCSprite *                           ; +0x30, 0x180057b90\ncall    ?create@CCProgressTimer@cocos2d@@SAPEAV12@PEAVCCSprite@2@@Z; cocos2d::CCProgressTimer::create(cocos2d::CCSprite *) ; +0x33, 0x180057b93\nmov     dl, 1; bool                                                    ; +0x38, 0x180057b98\nmov     rdi, rax                                                       ; +0x3a, 0x180057b9a\nmov     rcx, [rax+160h]; this                                          ; +0x3d, 0x180057b9d\ncall    ?setFlipY@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipY(bool) ; +0x44, 0x180057ba4\nxor     edx, edx                                                       ; +0x49, 0x180057ba9\nmov     rcx, rdi                                                       ; +0x4b, 0x180057bab\ncall    ?setType@CCProgressTimer@cocos2d@@QEAAXW4CCProgressTimerType@2@@Z; cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimerType) ; +0x4e, 0x180057bae\nmovss   xmm1, cs:flt_1800EA220; float                                  ; +0x53, 0x180057bb3\nmov     rcx, rdi; this                                                 ; +0x5b, 0x180057bbb\nmov     byte ptr [rdi+188h], 1                                         ; +0x5e, 0x180057bbe\ncall    ?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0x65, 0x180057bc5\nmovss   xmm2, [rsp+38h+arg_C]                                          ; +0x6a, 0x180057bca\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x70, 0x180057bd0\nmovss   xmm1, [rsp+38h+arg_8]                                          ; +0x75, 0x180057bd5\nmovss   xmm6, cs:dword_1800E6308                                       ; +0x7b, 0x180057bdb\nmov     rbx, [rdi]                                                     ; +0x83, 0x180057be3\nmulss   xmm2, xmm6                                                     ; +0x86, 0x180057be6\nmulss   xmm1, xmm6                                                     ; +0x8a, 0x180057bea\ncall    kmVec2Fill                                                     ; +0x8e, 0x180057bee\nmov     rdx, rax                                                       ; +0x93, 0x180057bf3\nmov     rcx, rdi                                                       ; +0x96, 0x180057bf6\ncall    qword ptr [rbx+0B8h]                                           ; +0x99, 0x180057bf9\nmovaps  xmm2, xmm6                                                     ; +0x9f, 0x180057bff\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xa2, 0x180057c02\nmovaps  xmm1, xmm6                                                     ; +0xa7, 0x180057c07\ncall    kmVec2Fill                                                     ; +0xaa, 0x180057c0a\nmov     rdx, rax                                                       ; +0xaf, 0x180057c0f\nmov     rcx, rdi                                                       ; +0xb2, 0x180057c12\ncall    ?setAnchorPoint@CCProgressTimer@cocos2d@@QEAAXVCCPoint@2@@Z; cocos2d::CCProgressTimer::setAnchorPoint(cocos2d::CCPoint) ; +0xb5, 0x180057c15\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xba, 0x180057c1a\nmov     rax, rdi                                                       ; +0xbf, 0x180057c1f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc2, 0x180057c22\nadd     rsp, 30h                                                       ; +0xc7, 0x180057c27\npop     rdi                                                            ; +0xcb, 0x180057c2b\nretn                                                                   ; +0xcc, 0x180057c2c", "xrefs": ["<???> @ 0x1800f5e98", "<???> @ 0x1801438a8", "<???> @ 0x1801b29dc"], "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"}