{"type": "func", "start": 6442676000, "end": 6442676112, "name": "cocos2d::CCFadeTo::update", "pseudocode": "// \n// cocos2d::CCFadeTo::update from 0x180036f20 to 0x180036f90 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9c98\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0a38\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::CCFadeTo::update(cocos2d::CCFadeTo *this, float a2)\n{\n  __int64 v3; // rax\n\n  v3 = _RTDynamicCast(\n         this->m_pTarget,\n         0,\n         &cocos2d::CCNode `RTTI Type Descriptor',\n         &cocos2d::CCRGBAProtocol `RTTI Type Descriptor',\n         0);\n  if ( v3 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 40LL))(\n      v3,\n      (unsigned int)(int)(float)((float)((float)(*((unsigned __int8 *)this + 96) - *((unsigned __int8 *)this + 97)) * a2)\n                               + (float)*((unsigned __int8 *)this + 97)));\n}", "assembly": "; \n; cocos2d::CCFadeTo::update from 0x180036f20 to 0x180036f90 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9c98\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0a38\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, 0x180036f20\nsub     rsp, 40h                                                       ; +0x2, 0x180036f22\nmov     rbx, rcx                                                       ; +0x6, 0x180036f26\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x9, 0x180036f29\nmov     rcx, [rcx+40h]                                                 ; +0xe, 0x180036f2e\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x12, 0x180036f32\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x19, 0x180036f39\nmov     [rsp+48h+var_28], 0                                            ; +0x20, 0x180036f40\nxor     edx, edx                                                       ; +0x28, 0x180036f48\nmovaps  xmm6, xmm1                                                     ; +0x2a, 0x180036f4a\ncall    __RTDynamicCast                                                ; +0x2d, 0x180036f4d\ntest    rax, rax                                                       ; +0x32, 0x180036f52\njz      short loc_180036F85                                            ; +0x35, 0x180036f55\nmovzx   edx, byte ptr [rbx+61h]                                        ; +0x37, 0x180036f57\nmovzx   ecx, byte ptr [rbx+60h]                                        ; +0x3b, 0x180036f5b\nmov     r8, [rax]                                                      ; +0x3f, 0x180036f5f\nsub     ecx, edx                                                       ; +0x42, 0x180036f62\nmovd    xmm0, edx                                                      ; +0x44, 0x180036f64\ncvtdq2ps xmm0, xmm0                                                    ; +0x48, 0x180036f68\nmovd    xmm1, ecx                                                      ; +0x4b, 0x180036f6b\nmov     rcx, rax                                                       ; +0x4f, 0x180036f6f\ncvtdq2ps xmm1, xmm1                                                    ; +0x52, 0x180036f72\nmulss   xmm1, xmm6                                                     ; +0x55, 0x180036f75\naddss   xmm1, xmm0                                                     ; +0x59, 0x180036f79\ncvttss2si edx, xmm1                                                    ; +0x5d, 0x180036f7d\ncall    qword ptr [r8+28h]                                             ; +0x61, 0x180036f81\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x65, 0x180036f85\nadd     rsp, 40h                                                       ; +0x6a, 0x180036f8a\npop     rbx                                                            ; +0x6e, 0x180036f8e\nretn                                                                   ; +0x6f, 0x180036f8f", "xrefs": ["<???> @ 0x1800e9c98", "<???> @ 0x1801438a8", "<???> @ 0x1801b0a38"], "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"}