// // GJRobotSprite::setOpacity from 0x100240088 to 0x100240164 (220 bytes) // // 3 xrefs: // > sub_100240164 @ 0x100240168 // > @ 0x1007c9978 // > @ 0x1007c9f30 // // 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 GJRobotSprite::setOpacity(GJRobotSprite *a1, unsigned __int8 a2) { __int64 v2; // x19 __int64 v4; // x21 __int64 v5; // x0 __int64 v6; // x21 __int64 v7; // x22 __int64 v8; // x0 v2 = a2; if ( (unsigned int)sub_10024A36C(a1->m_secondArray) ) { v4 = 0; do { v5 = sub_10024A388(a1->m_secondArray, v4); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 896LL))(v5, v2); v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_secondArray) ); } ((void (__fastcall *)(CCPartAnimSprite *, __int64))a1->m_paSprite->setOpacity)(a1->m_paSprite, v2); v6 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_glowSprite->getChildren)(a1->m_glowSprite); if ( (unsigned int)sub_10024A36C(v6) ) { v7 = 0; do { v8 = sub_10024A388(v6, v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 896LL))(v8, v2); v7 = (unsigned int)(v7 + 1); } while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(v6) ); } ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_extraSprite->setOpacity)(a1->m_extraSprite, v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source