// // GJEffectManager::colorForGroupID from 0x100014738 to 0x100014820 (232 bytes) // // 5 xrefs: // > GameObject::groupColor @ 0x100262518 // > LevelEditorLayer::updateVisibility @ 0x10035ed58 // > LevelEditorLayer::updateVisibility @ 0x10035efc0 // > LevelEditorLayer::updateObjectColors @ 0x10035f378 // > LevelEditorLayer::updateObjectColors @ 0x10035f56c // // 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 // cocos2d::ccColor3B __fastcall GJEffectManager::colorForGroupID( GJEffectManager *a1, int a2, const cocos2d::ccColor3B *a3, bool a4) { unsigned __int64 v4; // x8 unsigned __int64 v5; // x9 __int64 v8; // x0 PulseEffectAction *v9; // x21 PulseEffectAction *v10; // x22 int v12; // [xsp+8h] [xbp-28h] BYREF cocos2d::ccColor3B v13; // [xsp+Ch] [xbp-24h] BYREF LODWORD(v4) = a2 & ~(a2 >> 31); if ( (int)v4 >= 9999 ) v4 = 9999; else v4 = (unsigned int)v4; v5 = *(_QWORD *)&a1->m_unkVector2f0.__begin_[(v4 >> 3) & 0x7F8]; v12 = v4; v13 = *a3; if ( ((v5 >> v4) & 1) != 0 ) { v8 = sub_100018814(&a1->m_pulseEffectMap, &v12); if ( v8 ) { v9 = *(PulseEffectAction **)(v8 + 24); v10 = *(PulseEffectAction **)(v8 + 32); while ( 1 ) { if ( v9 == v10 ) return (cocos2d::ccColor3B)(*(unsigned __int16 *)&v13.r | (v13.b << 16)); if ( !v9->m_mainOnly ) break; if ( a4 ) goto LABEL_14; if ( v9->m_detailOnly ) goto LABEL_13; LABEL_15: ++v9; } if ( v9->m_detailOnly ) { LABEL_13: if ( a4 ) goto LABEL_15; } LABEL_14: v13 = GJEffectManager::colorForPulseEffect(a1, &v13, v9); goto LABEL_15; } } return (cocos2d::ccColor3B)(*(unsigned __int16 *)&v13.r | (v13.b << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source