{"type": "func", "start": 6442625088, "end": 6442625349, "name": "cocos2d::CCEaseElasticInOut::update", "pseudocode": "// \n// cocos2d::CCEaseElasticInOut::update from 0x18002a840 to 0x18002a945 (261 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800ee078\n// > <???> @ 0x18013d840\n// > <???> @ 0x18013d850\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9a3c\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:31 +0000\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 0x18002a840 to 0x18002a945 (261 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800ee078\n; > <???> @ 0x18013d840\n; > <???> @ 0x18013d850\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9a3c\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:31 +0000\n; \npush    rbx                                                            ; +0x0, 0x18002a840\nsub     rsp, 50h                                                       ; +0x2, 0x18002a842\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x6, 0x18002a846\nmov     rbx, rcx                                                       ; +0xb, 0x18002a84b\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0xe, 0x18002a84e\nmovaps  xmm6, xmm1                                                     ; +0x13, 0x18002a853\nxorps   xmm7, xmm7                                                     ; +0x16, 0x18002a856\nucomiss xmm6, xmm7                                                     ; +0x19, 0x18002a859\njp      short loc_18002A864                                            ; +0x1c, 0x18002a85c\njz      loc_18002A928                                                  ; +0x1e, 0x18002a85e\nucomiss xmm6, cs:flt_1800EC208                                         ; +0x24, 0x18002a864\njp      short loc_18002A873                                            ; +0x2b, 0x18002a86b\njz      loc_18002A928                                                  ; +0x2d, 0x18002a86d\nmovss   xmm2, dword ptr [rcx+68h]                                      ; +0x33, 0x18002a873\naddss   xmm6, xmm6                                                     ; +0x38, 0x18002a878\nucomiss xmm2, xmm7                                                     ; +0x3c, 0x18002a87c\nmovaps  [rsp+58h+var_38], xmm9                                         ; +0x3f, 0x18002a87f\njp      short loc_18002A898                                            ; +0x45, 0x18002a885\njnz     short loc_18002A898                                            ; +0x47, 0x18002a887\nmovss   xmm2, cs:dword_1800EE45C                                       ; +0x49, 0x18002a889\nmov     dword ptr [rcx+68h], 3EE66667h                                 ; +0x51, 0x18002a891\nsubss   xmm6, cs:flt_1800EC208                                         ; +0x58, 0x18002a898\nmovaps  xmm1, xmm2                                                     ; +0x60, 0x18002a8a0\nmulss   xmm1, cs:dword_1800EE454                                       ; +0x63, 0x18002a8a3\nmovaps  xmm0, xmm6                                                     ; +0x6b, 0x18002a8ab\nsubss   xmm0, xmm1                                                     ; +0x6e, 0x18002a8ae\nmulss   xmm0, cs:dword_1800ED6D8                                       ; +0x72, 0x18002a8b2\naddss   xmm0, xmm0                                                     ; +0x7a, 0x18002a8ba\ndivss   xmm0, xmm2; X                                                  ; +0x7e, 0x18002a8be\ncall    sinf                                                           ; +0x82, 0x18002a8c2\ncomiss  xmm7, xmm6                                                     ; +0x87, 0x18002a8c7\nmovaps  xmm9, xmm0                                                     ; +0x8a, 0x18002a8ca\nmovss   xmm0, cs:X; X                                                  ; +0x8e, 0x18002a8ce\njbe     short loc_18002A8FA                                            ; +0x96, 0x18002a8d6\nmulss   xmm6, cs:dword_1800EE4B0                                       ; +0x98, 0x18002a8d8\nmovaps  xmm1, xmm6; Y                                                  ; +0xa0, 0x18002a8e0\ncall    powf                                                           ; +0xa3, 0x18002a8e3\nmovaps  xmm6, xmm0                                                     ; +0xa8, 0x18002a8e8\nmulss   xmm6, cs:dword_1800EE4B4                                       ; +0xab, 0x18002a8eb\nmulss   xmm6, xmm9                                                     ; +0xb3, 0x18002a8f3\njmp     short loc_18002A922                                            ; +0xb8, 0x18002a8f8\nmulss   xmm6, cs:dword_1800EE4B8                                       ; +0xba, 0x18002a8fa\nmovaps  xmm1, xmm6; Y                                                  ; +0xc2, 0x18002a902\ncall    powf                                                           ; +0xc5, 0x18002a905\nmovaps  xmm6, xmm0                                                     ; +0xca, 0x18002a90a\nmulss   xmm6, xmm9                                                     ; +0xcd, 0x18002a90d\nmulss   xmm6, cs:dword_1800EC358                                       ; +0xd2, 0x18002a912\naddss   xmm6, cs:flt_1800EC208                                         ; +0xda, 0x18002a91a\nmovaps  xmm9, [rsp+58h+var_38]                                         ; +0xe2, 0x18002a922\nmov     rcx, [rbx+60h]                                                 ; +0xe8, 0x18002a928\nmovaps  xmm1, xmm6                                                     ; +0xec, 0x18002a92c\nmov     rax, [rcx]                                                     ; +0xef, 0x18002a92f\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xf2, 0x18002a932\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0xf7, 0x18002a937\nadd     rsp, 50h                                                       ; +0xfc, 0x18002a93c\npop     rbx                                                            ; +0x100, 0x18002a940\njmp     qword ptr [rax+20h]                                            ; +0x101, 0x18002a941", "xrefs": ["<???> @ 0x1800ee078", "<???> @ 0x18013d840", "<???> @ 0x18013d850", "<???> @ 0x18014cf68", "<???> @ 0x1801b9a3c"], "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"}