// // CCPartAnimSprite::setColor from 0x10007f548 to 0x10007f630 (232 bytes) // // 3 xrefs: // > GJRobotSprite::updateColors @ 0x10023fe2c // > CCAnimatedSprite::switchToMode @ 0x1002fda00 // > CCAnimatedSprite::setColor @ 0x1002fdf50 // // 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 CCPartAnimSprite::setColor(CCPartAnimSprite *a1, cocos2d::ccColor3B a2) { _QWORD *v3; // x20 __int64 v4; // x21 unsigned __int64 v5; // x19 cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-24h] BYREF v6 = a2; cocos2d::CCSprite::setColor(a1, &v6); if ( ((__int64 (__fastcall *)(CCPartAnimSprite *))a1->getChildren)(a1) && **(_DWORD **)(((__int64 (__fastcall *)(CCPartAnimSprite *))a1->getChildren)(a1) + 56) ) { v3 = *(_QWORD **)(*(_QWORD *)(((__int64 (__fastcall *)(CCPartAnimSprite *))a1->getChildren)(a1) + 56) + 16LL); v4 = *(_QWORD *)(*(_QWORD *)(((__int64 (__fastcall *)(CCPartAnimSprite *))a1->getChildren)(a1) + 56) + 16LL); v5 = v4 + 8LL * **(unsigned int **)(((__int64 (__fastcall *)(CCPartAnimSprite *))a1->getChildren)(a1) + 56) - 8; while ( (unsigned __int64)v3 <= v5 && *v3 ) { (*(void (__fastcall **)(_QWORD, cocos2d::ccColor3B *))(*(_QWORD *)*v3 + 944LL))(*v3, &v6); ++v3; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source