// // cocos2d::CCSprite::setChildOpacity from 0x18008c300 to 0x18008c3a7 (167 bytes) // // 9 xrefs: // > @ 0x1800ebc28 // > @ 0x1800ec100 // > @ 0x1800ecc80 // > @ 0x180103b38 // > @ 0x180106b30 // > @ 0x18013d51c // > @ 0x18013d574 // > @ 0x1801438a8 // > @ 0x1801b5cdc // // 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::CCSprite::setChildOpacity(cocos2d::CCSprite *this, unsigned __int8 a2) { cocos2d::CCArray *m_pChildren; // rax cocos2d::ccArray *data; // rbx __int64 num; // rax cocos2d::CCObject **arr; // rbx cocos2d::CCObject **i; // rdi __int64 v8; // rax if ( this->m_bHasChildren ) { m_pChildren = this->m_pChildren; if ( m_pChildren ) { data = m_pChildren->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; v8 = _RTDynamicCast( *arr, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCSprite `RTTI Type Descriptor', 0); if ( v8 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v8 + 320) + 40LL))(v8 + 320, a2); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source