{"type": "func", "start": 6442849024, "end": 6442849237, "name": "cocos2d::CCProgressTimer::vertexFromAlphaPoint", "pseudocode": "// \n// cocos2d::CCProgressTimer::vertexFromAlphaPoint from 0x180061300 to 0x1800613d5 (213 bytes)\n// \n// 20 xrefs:\n// > cocos2d::CCProgressTimer::updateBar @ 0x1800606d6\n// > cocos2d::CCProgressTimer::updateBar @ 0x180060745\n// > cocos2d::CCProgressTimer::updateBar @ 0x1800607b5\n// > cocos2d::CCProgressTimer::updateBar @ 0x180060825\n// > cocos2d::CCProgressTimer::updateBar @ 0x1800608b7\n// > cocos2d::CCProgressTimer::updateBar @ 0x18006091e\n// > cocos2d::CCProgressTimer::updateBar @ 0x18006098c\n// > cocos2d::CCProgressTimer::updateBar @ 0x1800609fa\n// > cocos2d::CCProgressTimer::updateBar @ 0x180060a70\n// > cocos2d::CCProgressTimer::updateBar @ 0x180060ae0\n// > cocos2d::CCProgressTimer::updateBar @ 0x180060b50\n// > cocos2d::CCProgressTimer::updateBar @ 0x180060bc0\n// > cocos2d::CCProgressTimer::updateRadial @ 0x1800610d2\n// > cocos2d::CCProgressTimer::updateRadial @ 0x180061137\n// > cocos2d::CCProgressTimer::updateRadial @ 0x18006121f\n// > cocos2d::CCProgressTimer::updateRadial @ 0x1800612a3\n// > <???> @ 0x1801426d4\n// > <???> @ 0x1801426e4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd600\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:51 +0000\n// \n\n__int64 __fastcall cocos2d::CCProgressTimer::vertexFromAlphaPoint(__int64 a1, __int64 a2, float *a3)\n{\n  __int64 v5; // rax\n  __m128 v6; // xmm6\n  float v7; // xmm1_4\n  float v8; // xmm2_4\n  float v9; // xmm1_4\n  float v11; // [rsp+A0h] [rbp+8h] BYREF\n  float v12; // [rsp+A4h] [rbp+Ch]\n  float v13; // [rsp+A8h] [rbp+10h] BYREF\n  float v14; // [rsp+ACh] [rbp+14h]\n\n  *(_QWORD *)a2 = 0;\n  v5 = *(_QWORD *)(a1 + 352);\n  if ( v5 )\n  {\n    v6 = *(__m128 *)(v5 + 508);\n    kmVec2Fill(\n      &v11,\n      _mm_shuffle_ps(*(__m128 *)(v5 + 476), *(__m128 *)(v5 + 476), 170).m128_f32[0],\n      _mm_shuffle_ps(*(__m128 *)(v5 + 476), *(__m128 *)(v5 + 476), 255).m128_f32[0]);\n    kmVec2Fill(&v13, v6.m128_f32[0], _mm_shuffle_ps(v6, v6, 85).m128_f32[0]);\n    v7 = a3[1];\n    v8 = 1.0 - v7;\n    v9 = v7 * v14;\n    *(float *)a2 = (float)((float)(1.0 - *a3) * v11) + (float)(*a3 * v13);\n    *(float *)(a2 + 4) = (float)(v8 * v12) + v9;\n  }\n  return a2;\n}", "assembly": "; \n; cocos2d::CCProgressTimer::vertexFromAlphaPoint from 0x180061300 to 0x1800613d5 (213 bytes)\n; \n; 20 xrefs:\n; > cocos2d::CCProgressTimer::updateBar @ 0x1800606d6\n; > cocos2d::CCProgressTimer::updateBar @ 0x180060745\n; > cocos2d::CCProgressTimer::updateBar @ 0x1800607b5\n; > cocos2d::CCProgressTimer::updateBar @ 0x180060825\n; > cocos2d::CCProgressTimer::updateBar @ 0x1800608b7\n; > cocos2d::CCProgressTimer::updateBar @ 0x18006091e\n; > cocos2d::CCProgressTimer::updateBar @ 0x18006098c\n; > cocos2d::CCProgressTimer::updateBar @ 0x1800609fa\n; > cocos2d::CCProgressTimer::updateBar @ 0x180060a70\n; > cocos2d::CCProgressTimer::updateBar @ 0x180060ae0\n; > cocos2d::CCProgressTimer::updateBar @ 0x180060b50\n; > cocos2d::CCProgressTimer::updateBar @ 0x180060bc0\n; > cocos2d::CCProgressTimer::updateRadial @ 0x1800610d2\n; > cocos2d::CCProgressTimer::updateRadial @ 0x180061137\n; > cocos2d::CCProgressTimer::updateRadial @ 0x18006121f\n; > cocos2d::CCProgressTimer::updateRadial @ 0x1800612a3\n; > <???> @ 0x1801426d4\n; > <???> @ 0x1801426e4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd600\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:51 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x180061300\nmov     [r11+18h], rbx                                                 ; +0x3, 0x180061303\npush    rdi                                                            ; +0x7, 0x180061307\nsub     rsp, 90h                                                       ; +0x8, 0x180061308\nxor     eax, eax                                                       ; +0xf, 0x18006130f\nmov     rdi, r8                                                        ; +0x11, 0x180061311\nmov     [rdx], rax                                                     ; +0x14, 0x180061314\nmov     rbx, rdx                                                       ; +0x17, 0x180061317\nmov     rax, [rcx+160h]                                                ; +0x1a, 0x18006131a\ntest    rax, rax                                                       ; +0x21, 0x180061321\njz      loc_1800613C1                                                  ; +0x24, 0x180061324\nmovups  xmm1, xmmword ptr [rax+1DCh]                                   ; +0x2a, 0x18006132a\nlea     rcx, [r11+8]                                                   ; +0x31, 0x180061331\nmovaps  xmmword ptr [r11-18h], xmm6                                    ; +0x35, 0x180061335\nmovups  xmm6, xmmword ptr [rax+1FCh]                                   ; +0x3a, 0x18006133a\nmovaps  xmm2, xmm1                                                     ; +0x41, 0x180061341\nshufps  xmm2, xmm1, 0FFh                                               ; +0x44, 0x180061344\nshufps  xmm1, xmm1, 0AAh                                               ; +0x48, 0x180061348\ncall    kmVec2Fill                                                     ; +0x4c, 0x18006134c\nmovaps  xmm2, xmm6                                                     ; +0x51, 0x180061351\nlea     rcx, [rsp+98h+arg_8]                                           ; +0x54, 0x180061354\nshufps  xmm2, xmm6, 55h ; 'U'                                          ; +0x5c, 0x18006135c\nmovaps  xmm1, xmm6                                                     ; +0x60, 0x180061360\ncall    kmVec2Fill                                                     ; +0x63, 0x180061363\nmovss   xmm1, dword ptr [rdi]                                          ; +0x68, 0x180061368\nmovss   xmm2, cs:flt_1800EC208                                         ; +0x6c, 0x18006136c\nmovaps  xmm6, [rsp+98h+var_18]                                         ; +0x74, 0x180061374\nmovaps  xmm0, xmm2                                                     ; +0x7c, 0x18006137c\nsubss   xmm0, xmm1                                                     ; +0x7f, 0x18006137f\nmulss   xmm1, [rsp+98h+arg_8]                                          ; +0x83, 0x180061383\nmulss   xmm0, [rsp+98h+arg_0]                                          ; +0x8c, 0x18006138c\naddss   xmm0, xmm1                                                     ; +0x95, 0x180061395\nmovss   xmm1, dword ptr [rdi+4]                                        ; +0x99, 0x180061399\nsubss   xmm2, xmm1                                                     ; +0x9e, 0x18006139e\nmulss   xmm1, [rsp+98h+arg_C]                                          ; +0xa2, 0x1800613a2\nmovss   dword ptr [rbx], xmm0                                          ; +0xab, 0x1800613ab\nmulss   xmm2, [rsp+98h+arg_4]                                          ; +0xaf, 0x1800613af\naddss   xmm2, xmm1                                                     ; +0xb8, 0x1800613b8\nmovss   dword ptr [rbx+4], xmm2                                        ; +0xbc, 0x1800613bc\nmov     rax, rbx                                                       ; +0xc1, 0x1800613c1\nmov     rbx, [rsp+98h+arg_10]                                          ; +0xc4, 0x1800613c4\nadd     rsp, 90h                                                       ; +0xcc, 0x1800613cc\npop     rdi                                                            ; +0xd3, 0x1800613d3\nretn                                                                   ; +0xd4, 0x1800613d4", "xrefs": ["cocos2d::CCProgressTimer::updateBar @ 0x1800606d6", "cocos2d::CCProgressTimer::updateBar @ 0x180060745", "cocos2d::CCProgressTimer::updateBar @ 0x1800607b5", "cocos2d::CCProgressTimer::updateBar @ 0x180060825", "cocos2d::CCProgressTimer::updateBar @ 0x1800608b7", "cocos2d::CCProgressTimer::updateBar @ 0x18006091e", "cocos2d::CCProgressTimer::updateBar @ 0x18006098c", "cocos2d::CCProgressTimer::updateBar @ 0x1800609fa", "cocos2d::CCProgressTimer::updateBar @ 0x180060a70", "cocos2d::CCProgressTimer::updateBar @ 0x180060ae0", "cocos2d::CCProgressTimer::updateBar @ 0x180060b50", "cocos2d::CCProgressTimer::updateBar @ 0x180060bc0", "cocos2d::CCProgressTimer::updateRadial @ 0x1800610d2", "cocos2d::CCProgressTimer::updateRadial @ 0x180061137", "cocos2d::CCProgressTimer::updateRadial @ 0x18006121f", "cocos2d::CCProgressTimer::updateRadial @ 0x1800612a3", "<???> @ 0x1801426d4", "<???> @ 0x1801426e4", "<???> @ 0x18014cf68", "<???> @ 0x1801bd600"], "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"}