{"type": "func", "start": 4295249172, "end": 4295249200, "name": "GameToolbox::transformColor", "pseudocode": "// \n// GameToolbox::transformColor from 0x100044d14 to 0x100044d30 (28 bytes)\n// \n// 9 xrefs:\n// > GJEffectManager::calculateLightBGColor @ 0x1000163b0\n// > PlayLayer::updateVisibility @ 0x10011c508\n// > PlayLayer::updateVisibility @ 0x10011c558\n// > GJBaseGameLayer::preUpdateVisibility @ 0x1001fd8b0\n// > GJBaseGameLayer::visitWithColorFlash @ 0x100208ff8\n// > GJBaseGameLayer::visitWithColorFlash @ 0x10020901c\n// > GJBaseGameLayer::visitWithColorFlash @ 0x100209044\n// > LevelEditorLayer::updateVisibility @ 0x10035e908\n// > LevelEditorLayer::updateObjectColors @ 0x10035f288\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::ccColor3B __fastcall GameToolbox::transformColor(const cocos2d::ccColor3B *a1, float a2, float a3, float a4)\n{\n  cocos2d::ccHSVValue v5; // 0:x1.16\n\n  v5.h = a2;\n  v5.s = a3;\n  *(_QWORD *)&v5.v = LODWORD(a4) | 0x10100000000LL;\n  return GameToolbox::transformColor_1(a1, v5);\n}", "assembly": "; \n; GameToolbox::transformColor from 0x100044d14 to 0x100044d30 (28 bytes)\n; \n; 9 xrefs:\n; > GJEffectManager::calculateLightBGColor @ 0x1000163b0\n; > PlayLayer::updateVisibility @ 0x10011c508\n; > PlayLayer::updateVisibility @ 0x10011c558\n; > GJBaseGameLayer::preUpdateVisibility @ 0x1001fd8b0\n; > GJBaseGameLayer::visitWithColorFlash @ 0x100208ff8\n; > GJBaseGameLayer::visitWithColorFlash @ 0x10020901c\n; > GJBaseGameLayer::visitWithColorFlash @ 0x100209044\n; > LevelEditorLayer::updateVisibility @ 0x10035e908\n; > LevelEditorLayer::updateObjectColors @ 0x10035f288\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nFMOV            W8, S0                                                 ; +0x0, 0x100044d14\nFMOV            W9, S1                                                 ; +0x4, 0x100044d18\nORR             X1, X8, X9,LSL#32                                      ; +0x8, 0x100044d1c\nFMOV            W8, S2                                                 ; +0xc, 0x100044d20\nMOV             X9, #0x10100000000                                     ; +0x10, 0x100044d24\nORR             X2, X8, X9                                             ; +0x14, 0x100044d28\nB               GameToolbox__transformColor_1                          ; +0x18, 0x100044d2c", "xrefs": ["GJEffectManager::calculateLightBGColor @ 0x1000163b0", "PlayLayer::updateVisibility @ 0x10011c508", "PlayLayer::updateVisibility @ 0x10011c558", "GJBaseGameLayer::preUpdateVisibility @ 0x1001fd8b0", "GJBaseGameLayer::visitWithColorFlash @ 0x100208ff8", "GJBaseGameLayer::visitWithColorFlash @ 0x10020901c", "GJBaseGameLayer::visitWithColorFlash @ 0x100209044", "LevelEditorLayer::updateVisibility @ 0x10035e908", "LevelEditorLayer::updateObjectColors @ 0x10035f288"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}