{"type": "func", "start": 6442810000, "end": 6442810205, "name": "cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture", "pseudocode": "// \n// cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture from 0x180057a90 to 0x180057b5d (205 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f5b08\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b29d0\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::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture(\n        cocos2d::CCTransitionProgressRadialCCW *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 = 0;\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::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture from 0x180057a90 to 0x180057b5d (205 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f5b08\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b29d0\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, 0x180057a90\npush    rdi                                                            ; +0x5, 0x180057a95\nsub     rsp, 30h                                                       ; +0x6, 0x180057a96\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180057a9a\nmov     rbx, rdx                                                       ; +0xf, 0x180057a9f\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x180057aa2\nmov     rcx, rax                                                       ; +0x17, 0x180057aa7\nlea     rdx, [rsp+38h+arg_8]                                           ; +0x1a, 0x180057aaa\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1f, 0x180057aaf\nmov     rax, [rbx]                                                     ; +0x24, 0x180057ab4\nmov     rcx, rbx                                                       ; +0x27, 0x180057ab7\ncall    qword ptr [rax+368h]                                           ; +0x2a, 0x180057aba\nmov     rcx, rax; struct cocos2d::CCSprite *                           ; +0x30, 0x180057ac0\ncall    ?create@CCProgressTimer@cocos2d@@SAPEAV12@PEAVCCSprite@2@@Z; cocos2d::CCProgressTimer::create(cocos2d::CCSprite *) ; +0x33, 0x180057ac3\nmov     dl, 1; bool                                                    ; +0x38, 0x180057ac8\nmov     rdi, rax                                                       ; +0x3a, 0x180057aca\nmov     rcx, [rax+160h]; this                                          ; +0x3d, 0x180057acd\ncall    ?setFlipY@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipY(bool) ; +0x44, 0x180057ad4\nxor     edx, edx                                                       ; +0x49, 0x180057ad9\nmov     rcx, rdi                                                       ; +0x4b, 0x180057adb\ncall    ?setType@CCProgressTimer@cocos2d@@QEAAXW4CCProgressTimerType@2@@Z; cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimerType) ; +0x4e, 0x180057ade\nmovss   xmm1, cs:flt_1800EA220; float                                  ; +0x53, 0x180057ae3\nmov     rcx, rdi; this                                                 ; +0x5b, 0x180057aeb\nmov     byte ptr [rdi+188h], 0                                         ; +0x5e, 0x180057aee\ncall    ?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0x65, 0x180057af5\nmovss   xmm2, [rsp+38h+arg_C]                                          ; +0x6a, 0x180057afa\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x70, 0x180057b00\nmovss   xmm1, [rsp+38h+arg_8]                                          ; +0x75, 0x180057b05\nmovss   xmm6, cs:dword_1800E6308                                       ; +0x7b, 0x180057b0b\nmov     rbx, [rdi]                                                     ; +0x83, 0x180057b13\nmulss   xmm2, xmm6                                                     ; +0x86, 0x180057b16\nmulss   xmm1, xmm6                                                     ; +0x8a, 0x180057b1a\ncall    kmVec2Fill                                                     ; +0x8e, 0x180057b1e\nmov     rdx, rax                                                       ; +0x93, 0x180057b23\nmov     rcx, rdi                                                       ; +0x96, 0x180057b26\ncall    qword ptr [rbx+0B8h]                                           ; +0x99, 0x180057b29\nmovaps  xmm2, xmm6                                                     ; +0x9f, 0x180057b2f\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xa2, 0x180057b32\nmovaps  xmm1, xmm6                                                     ; +0xa7, 0x180057b37\ncall    kmVec2Fill                                                     ; +0xaa, 0x180057b3a\nmov     rdx, rax                                                       ; +0xaf, 0x180057b3f\nmov     rcx, rdi                                                       ; +0xb2, 0x180057b42\ncall    ?setAnchorPoint@CCProgressTimer@cocos2d@@QEAAXVCCPoint@2@@Z; cocos2d::CCProgressTimer::setAnchorPoint(cocos2d::CCPoint) ; +0xb5, 0x180057b45\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xba, 0x180057b4a\nmov     rax, rdi                                                       ; +0xbf, 0x180057b4f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc2, 0x180057b52\nadd     rsp, 30h                                                       ; +0xc7, 0x180057b57\npop     rdi                                                            ; +0xcb, 0x180057b5b\nretn                                                                   ; +0xcc, 0x180057b5c", "xrefs": ["<???> @ 0x1800f5b08", "<???> @ 0x1801438a8", "<???> @ 0x1801b29d0"], "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"}