// // GJEffectManager::setColorAction from 0xa19cb4 to 0xa19d30 (124 bytes) // // 10 xrefs: // > LevelSettingsObject::init @ 0x7bfff8 // > LevelSettingsObject::init @ 0x7c0018 // > LevelSettingsObject::init @ 0x7c0038 // > LevelSettingsObject::init @ 0x7c005c // > LevelSettingsObject::init @ 0x7c007c // > LevelSettingsObject::init @ 0x7c009c // > GJEffectManager::getColorAction @ 0xa19d9c // > GJEffectManager::setupFromString @ 0xa1b0b4 // > GJEffectManager::loadFromState @ 0xa1b894 // > @ 0xc6448 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:59:36 +0000 // cocos2d::CCObject *__fastcall GJEffectManager::setColorAction(cocos2d::CCDictionary **this, ColorAction *a2, int a3) { int v5; // w19 __int64 v6; // x2 __int64 v7; // x22 cocos2d::CCObject *result; // x0 if ( a3 > 1100 ) { v6 = 1101; v7 = 8808; v5 = 1101; } else { if ( a3 < 0 ) v5 = 0; else v5 = a3; v6 = v5; v7 = 8LL * v5; } *((_DWORD *)a2 + 23) = v5; cocos2d::CCDictionary::setObject(*(this + 41), a2, v6); *(_QWORD *)((char *)*(this + 80) + v7) = a2; result = GJEffectManager::getColorSprite((GJEffectManager *)this, v5); *((_QWORD *)a2 + 18) = result; *((_QWORD *)result + 42) = a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source