{"type": "func", "start": 6442655440, "end": 6442655718, "name": "sub_180031ED0", "pseudocode": "// \n// sub_180031ED0 from 0x180031ed0 to 0x180031fe6 (278 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCBezierBy::update @ 0x1800373d1\n// > cocos2d::CCBezierBy::update @ 0x1800373f1\n// > <???> @ 0x1801ba4f8\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:33 +0000\n// \n\n__m128 __fastcall sub_180031ED0(float a1, float a2, float a3, float a4, float a5)\n{\n  __int128 v6; // xmm10\n  __int128 v7; // xmm0\n  __int128 v8; // xmm11\n\n  v6 = 0x3F800000u;\n  *(float *)&v6 = 1.0 - a5;\n  v7 = v6;\n  *(float *)&v7 = powf(1.0 - a5, 2.0);\n  v8 = v7;\n  *(float *)&v8 = (float)((float)(*(float *)&v7 * (float)(a5 * 3.0)) * a2) + (float)(powf(1.0 - a5, 3.0) * a1);\n  *(float *)&v8 = *(float *)&v8 + (float)((float)((float)(powf(a5, 2.0) * 3.0) * (float)(1.0 - a5)) * a3);\n  *(float *)&v8 = *(float *)&v8 + (float)(powf(a5, 3.0) * a4);\n  return (__m128)v8;\n}", "assembly": "; \n; sub_180031ED0 from 0x180031ed0 to 0x180031fe6 (278 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCBezierBy::update @ 0x1800373d1\n; > cocos2d::CCBezierBy::update @ 0x1800373f1\n; > <???> @ 0x1801ba4f8\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:33 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x180031ed0\nsub     rsp, 0A8h                                                      ; +0x3, 0x180031ed3\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0xa, 0x180031eda\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x180031ede\nmovss   xmm1, cs:X; Y                                                  ; +0x11, 0x180031ee1\nmovaps  xmmword ptr [rax-28h], xmm8                                    ; +0x19, 0x180031ee9\nmovaps  xmm8, xmm0                                                     ; +0x1e, 0x180031eee\nmovaps  xmmword ptr [rax-38h], xmm9                                    ; +0x22, 0x180031ef2\nmovaps  xmmword ptr [rax-48h], xmm10                                   ; +0x27, 0x180031ef7\nmovss   xmm10, cs:flt_1800EC208                                        ; +0x2c, 0x180031efc\nmovaps  xmmword ptr [rax-58h], xmm11                                   ; +0x35, 0x180031f05\nmovaps  xmmword ptr [rax-68h], xmm12                                   ; +0x3a, 0x180031f0a\nmovss   xmm12, [rsp+0A8h+arg_20]                                       ; +0x3f, 0x180031f0f\nmovaps  xmmword ptr [rax-78h], xmm13                                   ; +0x49, 0x180031f19\nsubss   xmm10, xmm12                                                   ; +0x4e, 0x180031f1e\nmovaps  [rsp+0A8h+var_88], xmm14                                       ; +0x53, 0x180031f23\nmovaps  xmm13, xmm2                                                    ; +0x59, 0x180031f29\nmovaps  xmm14, xmm3                                                    ; +0x5d, 0x180031f2d\nmovaps  xmm0, xmm10; X                                                 ; +0x61, 0x180031f31\ncall    powf                                                           ; +0x65, 0x180031f35\nmovss   xmm9, cs:Y                                                     ; +0x6a, 0x180031f3a\nmovaps  xmm11, xmm0                                                    ; +0x73, 0x180031f43\nmovaps  xmm3, xmm12                                                    ; +0x77, 0x180031f47\nmovaps  xmm1, xmm9; Y                                                  ; +0x7b, 0x180031f4b\nmulss   xmm3, xmm9                                                     ; +0x7f, 0x180031f4f\nmovaps  xmm0, xmm10; X                                                 ; +0x84, 0x180031f54\nmulss   xmm11, xmm3                                                    ; +0x88, 0x180031f58\nmulss   xmm11, xmm6                                                    ; +0x8d, 0x180031f5d\ncall    powf                                                           ; +0x92, 0x180031f62\nmovss   xmm1, cs:X; Y                                                  ; +0x97, 0x180031f67\nmulss   xmm0, xmm8                                                     ; +0x9f, 0x180031f6f\naddss   xmm11, xmm0                                                    ; +0xa4, 0x180031f74\nmovaps  xmm0, xmm12; X                                                 ; +0xa9, 0x180031f79\ncall    powf                                                           ; +0xad, 0x180031f7d\nmulss   xmm0, xmm9                                                     ; +0xb2, 0x180031f82\nmovaps  xmm1, xmm9; Y                                                  ; +0xb7, 0x180031f87\nmulss   xmm0, xmm10                                                    ; +0xbb, 0x180031f8b\nmulss   xmm0, xmm13                                                    ; +0xc0, 0x180031f90\naddss   xmm11, xmm0                                                    ; +0xc5, 0x180031f95\nmovaps  xmm0, xmm12; X                                                 ; +0xca, 0x180031f9a\ncall    powf                                                           ; +0xce, 0x180031f9e\nlea     r11, [rsp+0A8h]                                                ; +0xd3, 0x180031fa3\nmulss   xmm0, xmm14                                                    ; +0xdb, 0x180031fab\nmovaps  xmm6, xmmword ptr [r11-18h]                                    ; +0xe0, 0x180031fb0\nmovaps  xmm8, xmmword ptr [r11-28h]                                    ; +0xe5, 0x180031fb5\nmovaps  xmm9, xmmword ptr [r11-38h]                                    ; +0xea, 0x180031fba\naddss   xmm11, xmm0                                                    ; +0xef, 0x180031fbf\nmovaps  xmm10, xmmword ptr [r11-48h]                                   ; +0xf4, 0x180031fc4\nmovaps  xmm12, xmmword ptr [r11-68h]                                   ; +0xf9, 0x180031fc9\nmovaps  xmm13, xmmword ptr [r11-78h]                                   ; +0xfe, 0x180031fce\nmovaps  xmm14, [rsp+0A8h+var_88]                                       ; +0x103, 0x180031fd3\nmovaps  xmm0, xmm11                                                    ; +0x109, 0x180031fd9\nmovaps  xmm11, xmmword ptr [r11-58h]                                   ; +0x10d, 0x180031fdd\nmov     rsp, r11                                                       ; +0x112, 0x180031fe2\nretn                                                                   ; +0x115, 0x180031fe5", "xrefs": ["cocos2d::CCBezierBy::update @ 0x1800373d1", "cocos2d::CCBezierBy::update @ 0x1800373f1", "<???> @ 0x1801ba4f8"], "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"}