// // GJRobotSprite::setOpacity from 0x8e2abc to 0x8e2b9c (224 bytes) // // 4 xrefs: // > `non-virtual thunk to'GJRobotSprite::setOpacity @ 0x8e2ba0 // > @ 0x81030 // > @ 0x11a0f20 // > @ 0x11a14c0 // // 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) { unsigned int v3; // w21 unsigned int v4; // w19 __int64 v5; // x0 bool v6; // cf unsigned int v7; // w1 unsigned int v8; // w19 cocos2d::CCArray *v9; // x22 __int64 v10; // x0 unsigned int v11; // w1 v3 = a2; v4 = 0; while ( 1 ) { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_secondArray); v7 = v4++; if ( v6 ) break; v5 = cocos2d::CCArray::objectAtIndex(a1->m_secondArray, v7); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 896LL))(v5, v3); } v8 = 0; a1->m_paSprite->setOpacity(a1->m_paSprite, v3); v9 = a1->m_glowSprite->getChildren(a1->m_glowSprite); while ( 1 ) { v6 = v8 >= (unsigned int)cocos2d::CCArray::count(v9); v11 = v8++; if ( v6 ) break; v10 = cocos2d::CCArray::objectAtIndex(v9, v11); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 896LL))(v10, v3); } a1->m_extraSprite->setOpacity(a1->m_extraSprite, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source