{"type": "func", "start": 6442675904, "end": 6442675998, "name": "cocos2d::CCFadeOut::update", "pseudocode": "// \n// cocos2d::CCFadeOut::update from 0x180036ec0 to 0x180036f1e (94 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9c20\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0a2c\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::CCFadeOut::update(cocos2d::CCFadeOut *this, float a2)\n{\n  __int64 v2; // rax\n\n  v2 = _RTDynamicCast(\n         this->m_pTarget,\n         0,\n         &cocos2d::CCNode `RTTI Type Descriptor',\n         &cocos2d::CCRGBAProtocol `RTTI Type Descriptor',\n         0);\n  if ( v2 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 40LL))(\n      v2,\n      (unsigned int)(int)(float)((float)(1.0 - a2) * 255.0));\n}", "assembly": "; \n; cocos2d::CCFadeOut::update from 0x180036ec0 to 0x180036f1e (94 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9c20\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0a2c\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\nsub     rsp, 48h                                                       ; +0x0, 0x180036ec0\nmov     rcx, [rcx+40h]                                                 ; +0x4, 0x180036ec4\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x8, 0x180036ec8\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xf, 0x180036ecf\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x14, 0x180036ed4\nxor     edx, edx                                                       ; +0x1b, 0x180036edb\nmov     [rsp+48h+var_28], 0                                            ; +0x1d, 0x180036edd\nmovaps  xmm6, xmm1                                                     ; +0x25, 0x180036ee5\ncall    __RTDynamicCast                                                ; +0x28, 0x180036ee8\ntest    rax, rax                                                       ; +0x2d, 0x180036eed\njz      short loc_180036F14                                            ; +0x30, 0x180036ef0\nmovss   xmm0, cs:flt_1800E61A8                                         ; +0x32, 0x180036ef2\nmov     rcx, rax                                                       ; +0x3a, 0x180036efa\nmov     r8, [rax]                                                      ; +0x3d, 0x180036efd\nsubss   xmm0, xmm6                                                     ; +0x40, 0x180036f00\nmulss   xmm0, cs:dword_1800E5838                                       ; +0x44, 0x180036f04\ncvttss2si edx, xmm0                                                    ; +0x4c, 0x180036f0c\ncall    qword ptr [r8+28h]                                             ; +0x50, 0x180036f10\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x54, 0x180036f14\nadd     rsp, 48h                                                       ; +0x59, 0x180036f19\nretn                                                                   ; +0x5d, 0x180036f1d", "xrefs": ["<???> @ 0x1800e9c20", "<???> @ 0x1801438a8", "<???> @ 0x1801b0a2c"], "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"}