//
// cocos2d::CCSprite::setOpacityModifyRGB from 0x1002d5e54 to 0x1002d5e6c (24 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008aec50
// > ??> @ 0x1008c0150
// > ??> @ 0x1008c0aa8
// > ??> @ 0x1008c1cb8
// > ??> @ 0x1008c4280
// > ??> @ 0x1008c7cd0
// > ??> @ 0x1008c8280
// > ??> @ 0x1008d4540
// > ??> @ 0x1008e0048
// > ??> @ 0x1008eedb8
// > ??> @ 0x100904130
// > ??> @ 0x1009046f8
// > ??> @ 0x10090aaf0
// > ??> @ 0x100910920
// > ??> @ 0x100911b30
// > ??> @ 0x10091c4a8
// > ??> @ 0x10091ccf0
// > ??> @ 0x10091fcf8
// > ??> @ 0x1009207f8
// > ??> @ 0x100922078
// > ??> @ 0x100922640
// > ??> @ 0x100928728
// > ??> @ 0x100928f20
// > ??> @ 0x100929740
// > ??> @ 0x10093cd20
// > ??> @ 0x100942568
// > ??> @ 0x100942b30
// > ??> @ 0x100944860
// > ??> @ 0x100944df8
// > ??> @ 0x100947d68
// > ??> @ 0x10094d700
// > ??> @ 0x10094df48
// > ??> @ 0x10094e750
// > ??> @ 0x10094ef58
// > ??> @ 0x10094f760
// > ??> @ 0x10094ff68
// > ??> @ 0x100950770
// > ??> @ 0x100950f78
// > ??> @ 0x100951770
// > ??> @ 0x100951f90
// > ??> @ 0x100952808
// > ??> @ 0x100953028
// > ??> @ 0x100953848
// > ??> @ 0x100954068
// > ??> @ 0x100954888
// > ??> @ 0x1009550a8
// > ??> @ 0x1009558c8
// > ??> @ 0x1009560e8
// > ??> @ 0x100956908
// > ??> @ 0x100957128
// > ??> @ 0x100957960
// > ??> @ 0x1009581c8
// > ??> @ 0x100958a00
// > ??> @ 0x100959238
// > ??> @ 0x100959a70
// > ??> @ 0x10095a2a8
// > ??> @ 0x10095aac8
// > ??> @ 0x10095b2e8
// > ??> @ 0x10095bb08
// > ??> @ 0x10095c328
// > ??> @ 0x10095cb48
// > ??> @ 0x10095d368
// > ??> @ 0x10095db88
// > ??> @ 0x10095e3a8
// > ??> @ 0x10095ebc8
// > ??> @ 0x10095f3e8
// > ??> @ 0x10095fc08
// > ??> @ 0x100960428
// > ??> @ 0x100960c48
// > ??> @ 0x100961468
// > ??> @ 0x100961c88
// > ??> @ 0x1009624a8
// > ??> @ 0x100962cc8
// > ??> @ 0x100963c80
// > ??> @ 0x10096a098
// > ??> @ 0x10096e0c8
// > ??> @ 0x10098ca80
//
// 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 11:02:41 +0000
//
__int64 __fastcall cocos2d::CCSprite::setOpacityModifyRGB(__int64 result, int a2)
{
if ( *(unsigned __int8 *)(result + 556) != a2 )
{
*(_BYTE *)(result + 556) = a2;
return cocos2d::CCSprite::updateColor(result);
}
return result;
}