// // GJRobotSprite::setOpacity from 0x4b7d2c to 0x4b7daa (126 bytes) // // 1 xrefs: // > `non-virtual thunk to'GJRobotSprite::setOpacity @ 0x4b7dae // // 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 GJRobotSprite::setOpacity(GJRobotSprite *a1, unsigned __int8 a2) { int v3; // r5 unsigned int i; // r6 int v5; // r0 unsigned int v6; // r6 cocos2d::CCArray *v7; // r7 int v8; // r0 v3 = a2; for ( i = 0; i < cocos2d::CCArray::count(a1->m_secondArray); ++i ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_secondArray, i); (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 448))(v5, v3); } v6 = 0; a1->m_paSprite->setOpacity(a1->m_paSprite, v3); v7 = a1->m_glowSprite->getChildren(a1->m_glowSprite); while ( v6 < cocos2d::CCArray::count(v7) ) { v8 = cocos2d::CCArray::objectAtIndex(v7, v6++); (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 448))(v8, v3); } a1->m_extraSprite->setOpacity(a1->m_extraSprite, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source