// // cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB from 0x100216080 to 0x100216128 (168 bytes) // // 2 xrefs: // > sub_100216128 @ 0x10021612c // > @ 0x1007c3240 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB( cocos2d::extension::CCScale9Sprite *a1, bool a2) { cocos2d::CCSpriteBatchNode *scale9Image; // x0 __int64 v4; // x0 unsigned int *v5; // x9 __int64 v6; // x8 const void **v7; // x22 unsigned __int64 v8; // x23 void *v9; // x0 scale9Image = a1->_scale9Image; if ( scale9Image ) { a1->_opacityModifyRGB = a2; v4 = ((__int64 (__fastcall *)(cocos2d::CCSpriteBatchNode *))scale9Image->getChildren)(scale9Image); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((const void ***)v5 + 2); v8 = (unsigned __int64)&v7[v6 - 1]; do { if ( !*v7 ) break; v9 = __dynamic_cast( *v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&off_100770F10, -2); if ( v9 ) (*(void (__fastcall **)(void *, bool))(*(_QWORD *)v9 + 48LL))(v9, a1->_opacityModifyRGB); ++v7; } while ( (unsigned __int64)v7 <= v8 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source