// // cocos2d::extension::CCScale9Sprite::setOpacity from 0x1002163f4 to 0x1002164a0 (172 bytes) // // 2 xrefs: // > sub_1002164A0 @ 0x1002164a4 // > @ 0x1007c31f0 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall cocos2d::extension::CCScale9Sprite::setOpacity( cocos2d::extension::CCScale9Sprite *a1, unsigned __int8 a2) { cocos2d::CCSpriteBatchNode *scale9Image; // x0 __int64 v4; // x19 __int64 v5; // x0 unsigned int *v6; // x9 __int64 v7; // x8 const void **v8; // x22 unsigned __int64 v9; // x23 void *v10; // x0 scale9Image = a1->_scale9Image; if ( scale9Image ) { v4 = a2; a1->_opacity = a2; v5 = ((__int64 (__fastcall *)(cocos2d::CCSpriteBatchNode *))scale9Image->getChildren)(scale9Image); if ( v5 ) { v6 = *(unsigned int **)(v5 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((const void ***)v6 + 2); v9 = (unsigned __int64)&v8[v7 - 1]; do { if ( !*v8 ) break; v10 = __dynamic_cast( *v8, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&off_100770F10, -2); if ( v10 ) (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v10 + 40LL))(v10, v4); ++v8; } while ( (unsigned __int64)v8 <= v9 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source