// // GameToolbox::multipliedColorValue from 0x100044ec8 to 0x100044f84 (188 bytes) // // 13 xrefs: // > ColorAction::step @ 0x10000d5b4 // > GJEffectManager::calculateInheritedColor @ 0x10000f818 // > GJEffectManager::colorForPulseEffect @ 0x10000faac // > GJEffectManager::colorForPulseEffect @ 0x10000fb04 // > PlayLayer::applyCustomEnterEffect @ 0x10011d5c4 // > PlayLayer::applyCustomEnterEffect @ 0x10011d60c // > GJBaseGameLayer::processAreaTintGroupAction @ 0x1001f60c4 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x1001f613c // > GJBaseGameLayer::processAreaTintGroupAction @ 0x1001f61c0 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x1001f6238 // > PlayerObject::update @ 0x100219750 // > PlayerObject::update @ 0x1002197a0 // > SecretRewardsLayer::scrollLayerMoved @ 0x1002ea2bc // // 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! cocos2d::ccColor3B __fastcall GameToolbox::multipliedColorValue(cocos2d::ccColor3B a1, cocos2d::ccColor3B a2, float a3) { int64x2_t v3; // q1 float v4; // s0 int8x8_t v5; // d0 int64x2_t v6; // q2 int32x2_t v7; // d1 int32x2_t v8; // d0 v3 = (int64x2_t)vshlq_u64((uint64x2_t)vdupq_n_s64(*(unsigned __int64 *)&a1.r), (uint64x2_t)xmmword_100635AB0); v4 = fmaxf(fminf(a3, 1.0), 0.0); if ( v4 == 0.0 ) { v5 = (int8x8_t)vmovn_s64(v3); } else { v6 = (int64x2_t)vshlq_u64((uint64x2_t)vdupq_n_s64(*(unsigned __int64 *)&a2.r), (uint64x2_t)xmmword_100635AB0); if ( v4 == 1.0 ) { v5 = (int8x8_t)vmovn_s64(v6); a1.r = a2.r; } else { *(_DWORD *)&a1.r = (int)(float)((float)a1.r + (float)((float)(a2.r - a1.r) * v4)); v7 = (int32x2_t)vand_s8((int8x8_t)vmovn_s64(v3), (int8x8_t)0xFF000000FFLL); v5 = (int8x8_t)vcvt_s32_f32( vmla_n_f32( vcvt_f32_u32((uint32x2_t)v7), vcvt_f32_s32(vsub_s32((int32x2_t)vand_s8((int8x8_t)vmovn_s64(v6), (int8x8_t)0xFF000000FFLL), v7)), v4)); } } v8 = (int32x2_t)vshl_u32((uint32x2_t)vand_s8(v5, (int8x8_t)0xFF000000FFLL), (uint32x2_t)0x800000010LL); return (cocos2d::ccColor3B)(vorr_s8((int8x8_t)v8, (int8x8_t)vdup_lane_s32(v8, 1)).u32[0] | a1.r); }
GD Web Decomp Icon

GD Web Decomp

Raw Source