// // cocos2d::CCLayerRGBA::setColor from 0xd5c958 to 0xd5ca4c (244 bytes) // // 18 xrefs: // > cocos2d::extension::CCControlButton::setColor @ 0xd0e170 // > `non-virtual thunk to'cocos2d::CCLayerRGBA::setColor @ 0xd5ca50 // > cocos2d::CCLayerColor::setColor @ 0xd5ca64 // > @ 0xb4790 // > @ 0x14165c0 // > @ 0x141e220 // > @ 0x14c35d0 // > @ 0x14e2ef0 // > @ 0x150a1b0 // > @ 0x150b100 // > @ 0x150b810 // > @ 0x150bf30 // > @ 0x150c650 // > @ 0x150d3b0 // > @ 0x150e090 // > @ 0x150e790 // > @ 0x1519b50 // > @ 0x1524400 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:48 +0000 // __int64 __fastcall cocos2d::CCLayerRGBA::setColor(__int64 a1, __int16 *a2) { __int16 v3; // w2 __int64 v4; // x3 char v5; // w0 int v6; // w1 const void *v7; // x0 void *v8; // x0 void *v9; // x21 __int64 v10; // x0 __int16 v12; // [xsp+30h] [xbp+30h] BYREF char v13; // [xsp+32h] [xbp+32h] __int64 v14; // [xsp+38h] [xbp+38h] v3 = *a2; *(_WORD *)(a1 + 421) = *a2; v4 = _stack_chk_guard; v5 = *((_BYTE *)a2 + 2); v6 = *(unsigned __int8 *)(a1 + 425); *(_BYTE *)(a1 + 423) = v5; v14 = v4; *(_WORD *)(a1 + 418) = v3; *(_BYTE *)(a1 + 420) = v5; if ( v6 ) { v7 = *(const void **)(a1 + 216); v12 = -1; v13 = -1; if ( v7 ) { v8 = _dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v9 = v8; if ( v8 ) { if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v8 + 64LL))(v8) ) { v10 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v9 + 16LL))(v9); v12 = *(_WORD *)v10; v13 = *(_BYTE *)(v10 + 2); } } } (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)a1 + 1224LL))(a1, &v12); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source