// // GJEffectManager::getColorSprite from 0x1002c8f10 to 0x1002c9003 (243 bytes) // // 21 xrefs: // > LevelEditorLayer::transferDefaultColors @ 0x1000c2205 // > LevelEditorLayer::transferDefaultColors @ 0x1000c2238 // > LevelEditorLayer::transferDefaultColors @ 0x1000c226b // > LevelEditorLayer::transferDefaultColors @ 0x1000c229e // > GJBaseGameLayer::updateColor @ 0x100119d76 // > GJEffectManager::getColorAction @ 0x1002c8e70 // > GJEffectManager::activeColorForIndex @ 0x1002c8ee0 // > GJEffectManager::activeOpacityForIndex @ 0x1002c9024 // > GJEffectManager::processCopyColorPulseActions @ 0x1002c97e8 // > GJEffectManager::processCopyColorPulseActions @ 0x1002c982a // > GJEffectManager::calculateInheritedColor @ 0x1002c9c25 // > GJEffectManager::colorForPulseEffect @ 0x1002c9f2b // > GJEffectManager::setColorAction @ 0x1002ca02a // > GJEffectManager::calculateLightBGColor @ 0x1002d8835 // > GJEffectManager::calculateLightBGColor @ 0x1002d896d // > GJEffectManager::calculateLightBGColor @ 0x1002d898f // > GJEffectManager::setupFromString @ 0x1002d9521 // > GJEffectManager::loadFromState @ 0x1002d9d68 // > GameObject::saveActiveColors @ 0x10069a372 // > GameObject::saveActiveColors @ 0x10069a38b // > GameObject::setupColorSprite @ 0x10069a473 // // This function is hookable on this platform (idp: pc, 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:28:09 +0000 // char *__fastcall GJEffectManager::getColorSprite(_QWORD *a1, int a2) { int v2; // eax __int64 v3; // rbx char *v4; // r14 v2 = 0; if ( a2 > 0 ) v2 = a2; v3 = 1101; if ( v2 < 1101 ) v3 = (unsigned int)v2; v4 = *(char **)(a1[83] + 8 * v3); if ( !v4 ) { v4 = (char *)operator new(0x158u); cocos2d::CCNode::CCNode((__int64)v4); *(_QWORD *)v4 = off_100B11410; *((_DWORD *)v4 + 79) = 1132396544; *((_DWORD *)v4 + 82) = 0; *((_QWORD *)v4 + 42) = 0; if ( cocos2d::CCNode::init() ) { *((_WORD *)v4 + 162) = -1; *(_QWORD *)(v4 + 316) = -3162570752LL; cocos2d::CCObject::autorelease(v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); v4 = nullptr; } *((_DWORD *)v4 + 82) = v3; (*(void (__fastcall **)(_QWORD *, char *))(*a1 + 456LL))(a1, v4); *(_QWORD *)(a1[83] + 8 * v3) = v4; cocos2d::CCDictionary::setObject_1(a1[42], v4, v3); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source