{"type": "func", "start": 6442623280, "end": 6442623541, "name": "cocos2d::CCEaseElasticInOut::update", "pseudocode": "// \n// cocos2d::CCEaseElasticInOut::update from 0x18002a130 to 0x18002a235 (261 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800e8018\n// > <???> @ 0x180134894\n// > <???> @ 0x1801348a4\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af928\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\nvoid __fastcall cocos2d::CCEaseElasticInOut::update(cocos2d::CCEaseElasticInOut *this, float a2)\n{\n  float v3; // xmm2_4\n  float v4; // xmm6_4\n\n  if ( a2 != 0.0 && a2 != 1.0 )\n  {\n    v3 = *((float *)this + 26);\n    if ( v3 == 0.0 )\n    {\n      v3 = 0.45000002;\n      *((_DWORD *)this + 26) = 1055286887;\n    }\n    v4 = (float)(a2 + a2) + -1.0;\n    sinf(\n      (float)((float)((float)(v4 - (float)(v3 * 0.25)) * 3.1415927)\n            + (float)((float)(v4 - (float)(v3 * 0.25)) * 3.1415927))\n    / v3);\n    if ( v4 >= 0.0 )\n      powf(2.0, v4 * -10.0);\n    else\n      powf(2.0, v4 * 10.0);\n  }\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 12) + 32LL))(*((_QWORD *)this + 12));\n}", "assembly": "; \n; cocos2d::CCEaseElasticInOut::update from 0x18002a130 to 0x18002a235 (261 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800e8018\n; > <???> @ 0x180134894\n; > <???> @ 0x1801348a4\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af928\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\npush    rbx                                                            ; +0x0, 0x18002a130\nsub     rsp, 50h                                                       ; +0x2, 0x18002a132\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x6, 0x18002a136\nmov     rbx, rcx                                                       ; +0xb, 0x18002a13b\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0xe, 0x18002a13e\nmovaps  xmm6, xmm1                                                     ; +0x13, 0x18002a143\nxorps   xmm7, xmm7                                                     ; +0x16, 0x18002a146\nucomiss xmm6, xmm7                                                     ; +0x19, 0x18002a149\njp      short loc_18002A154                                            ; +0x1c, 0x18002a14c\njz      loc_18002A218                                                  ; +0x1e, 0x18002a14e\nucomiss xmm6, cs:flt_1800E61A8                                         ; +0x24, 0x18002a154\njp      short loc_18002A163                                            ; +0x2b, 0x18002a15b\njz      loc_18002A218                                                  ; +0x2d, 0x18002a15d\nmovss   xmm2, dword ptr [rcx+68h]                                      ; +0x33, 0x18002a163\naddss   xmm6, xmm6                                                     ; +0x38, 0x18002a168\nucomiss xmm2, xmm7                                                     ; +0x3c, 0x18002a16c\nmovaps  [rsp+58h+var_38], xmm9                                         ; +0x3f, 0x18002a16f\njp      short loc_18002A188                                            ; +0x45, 0x18002a175\njnz     short loc_18002A188                                            ; +0x47, 0x18002a177\nmovss   xmm2, cs:dword_1800E83FC                                       ; +0x49, 0x18002a179\nmov     dword ptr [rcx+68h], 3EE66667h                                 ; +0x51, 0x18002a181\naddss   xmm6, cs:dword_1800E6B20                                       ; +0x58, 0x18002a188\nmovaps  xmm1, xmm2                                                     ; +0x60, 0x18002a190\nmulss   xmm1, cs:dword_1800E83F4                                       ; +0x63, 0x18002a193\nmovaps  xmm0, xmm6                                                     ; +0x6b, 0x18002a19b\nsubss   xmm0, xmm1                                                     ; +0x6e, 0x18002a19e\nmulss   xmm0, cs:dword_1800E7670                                       ; +0x72, 0x18002a1a2\naddss   xmm0, xmm0                                                     ; +0x7a, 0x18002a1aa\ndivss   xmm0, xmm2; X                                                  ; +0x7e, 0x18002a1ae\ncall    sinf                                                           ; +0x82, 0x18002a1b2\ncomiss  xmm7, xmm6                                                     ; +0x87, 0x18002a1b7\nmovaps  xmm9, xmm0                                                     ; +0x8a, 0x18002a1ba\nmovss   xmm0, cs:Y; X                                                  ; +0x8e, 0x18002a1be\njbe     short loc_18002A1EA                                            ; +0x96, 0x18002a1c6\nmulss   xmm6, cs:dword_1800E8440                                       ; +0x98, 0x18002a1c8\nmovaps  xmm1, xmm6; Y                                                  ; +0xa0, 0x18002a1d0\ncall    powf                                                           ; +0xa3, 0x18002a1d3\nmovaps  xmm6, xmm0                                                     ; +0xa8, 0x18002a1d8\nmulss   xmm6, cs:dword_1800E8444                                       ; +0xab, 0x18002a1db\nmulss   xmm6, xmm9                                                     ; +0xb3, 0x18002a1e3\njmp     short loc_18002A212                                            ; +0xb8, 0x18002a1e8\nmulss   xmm6, cs:dword_1800E8454                                       ; +0xba, 0x18002a1ea\nmovaps  xmm1, xmm6; Y                                                  ; +0xc2, 0x18002a1f2\ncall    powf                                                           ; +0xc5, 0x18002a1f5\nmovaps  xmm6, xmm0                                                     ; +0xca, 0x18002a1fa\nmulss   xmm6, xmm9                                                     ; +0xcd, 0x18002a1fd\nmulss   xmm6, cs:dword_1800E6308                                       ; +0xd2, 0x18002a202\naddss   xmm6, cs:flt_1800E61A8                                         ; +0xda, 0x18002a20a\nmovaps  xmm9, [rsp+58h+var_38]                                         ; +0xe2, 0x18002a212\nmov     rcx, [rbx+60h]                                                 ; +0xe8, 0x18002a218\nmovaps  xmm1, xmm6                                                     ; +0xec, 0x18002a21c\nmov     rax, [rcx]                                                     ; +0xef, 0x18002a21f\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xf2, 0x18002a222\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0xf7, 0x18002a227\nadd     rsp, 50h                                                       ; +0xfc, 0x18002a22c\npop     rbx                                                            ; +0x100, 0x18002a230\njmp     qword ptr [rax+20h]                                            ; +0x101, 0x18002a231", "xrefs": ["<???> @ 0x1800e8018", "<???> @ 0x180134894", "<???> @ 0x1801348a4", "<???> @ 0x1801438a8", "<???> @ 0x1801af928"], "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"}