; ; GJEffectManager::getColorAction from 0x140365ef0 to 0x140365fa2 (178 bytes) ; ; 43 xrefs: ; > ColorSelectPopup::onDefault @ 0x140129edc ; > ColorSelectPopup::onDefault @ 0x14012a005 ; > CustomizeObjectLayer::onEditColor @ 0x14014259b ; > CustomizeObjectLayer::updateColorSprite @ 0x14014268d ; > EditorUI::getEditColorTargets @ 0x1401be0e7 ; > EditorUI::getEditColorTargets @ 0x1401be149 ; > EditorUI::showLiveColorSelectForMode @ 0x1401be341 ; > EditorUI::copyObjects @ 0x1401c599e ; > EditorUI::pasteObjects @ 0x1401c6561 ; > EditorUI::pasteObjects @ 0x1401c65d4 ; > EditorUI::spriteFromObjectString @ 0x1401f09df ; > EditorUI::spriteFromObjectString @ 0x1401f0a52 ; > GJBaseGameLayer::updateColor @ 0x14032b66b ; > GJColorSetupLayer::updateSpriteColor @ 0x14035f584 ; > GJColorSetupLayer::onColor @ 0x14035f73f ; > GJEffectManager::processColors @ 0x1403656ac ; > GJEffectManager::processInheritedColors @ 0x140365a08 ; > GJEffectManager::controlActionsForTrigger @ 0x140368c4e ; > LevelEditorLayer::transferDefaultColors @ 0x1403fa692 ; > LevelEditorLayer::runColorEffect @ 0x1403fc345 ; > LevelEditorLayer::stopTriggersInGroup @ 0x1403fc6c7 ; > LevelSettingsObject::objectFromDict @ 0x1404128bb ; > LevelSettingsObject::objectFromDict @ 0x14041291f ; > LevelSettingsObject::objectFromDict @ 0x140412945 ; > LevelSettingsObject::objectFromDict @ 0x1404129e3 ; > LevelSettingsObject::objectFromDict @ 0x140412a47 ; > LevelSettingsObject::objectFromDict @ 0x140412aab ; > LevelSettingsObject::objectFromDict @ 0x140412b0f ; > LevelSettingsObject::objectFromDict @ 0x140412b73 ; > LevelSettingsObject::objectFromDict @ 0x140412bd7 ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413c9a ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413cc3 ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413cec ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413d13 ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413d36 ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413d5d ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413d80 ; > LevelSettingsObject::setupColorsFromLegacyMode @ 0x140413da2 ; > LevelSettingsLayer::onShowPicker @ 0x14045abd9 ; > LevelSettingsLayer::updateColorSprite @ 0x14045ad3f ; > @ 0x1408bab74 ; > @ 0x1408bab84 ; > @ 0x1409216a4 ; ; 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 11:30:54 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140365ef0 mov [rsp+arg_10], rbp ; +0x5, 0x140365ef5 mov [rsp+arg_18], rsi ; +0xa, 0x140365efa push r14 ; +0xf, 0x140365eff sub rsp, 20h ; +0x11, 0x140365f01 xor r14d, r14d ; +0x15, 0x140365f05 mov ebx, 44Dh ; +0x18, 0x140365f08 test edx, edx ; +0x1d, 0x140365f0d mov rbp, rcx ; +0x1f, 0x140365f0f mov esi, edx ; +0x22, 0x140365f12 cmovs esi, r14d ; +0x24, 0x140365f14 cmp esi, ebx ; +0x28, 0x140365f18 mov rax, [rbp+2E0h] ; +0x2a, 0x140365f1a cmovg esi, ebx ; +0x31, 0x140365f21 movsxd rcx, esi ; +0x34, 0x140365f24 mov rax, [rax+rcx*8] ; +0x37, 0x140365f27 test rax, rax ; +0x3b, 0x140365f2b jnz short loc_140365F8C ; +0x3e, 0x140365f2e mov [rsp+28h+arg_0], rdi ; +0x40, 0x140365f30 call ColorAction__create ; +0x45, 0x140365f35 test esi, esi ; +0x4a, 0x140365f3a mov rdx, rax ; +0x4c, 0x140365f3c mov rdi, rax ; +0x4f, 0x140365f3f cmovs esi, r14d ; +0x52, 0x140365f42 cmp esi, ebx ; +0x56, 0x140365f46 cmovg esi, ebx ; +0x58, 0x140365f48 mov [rax+5Ch], esi ; +0x5b, 0x140365f4b mov rcx, [rbp+148h] ; +0x5e, 0x140365f4e movsxd rbx, esi ; +0x65, 0x140365f55 mov r8, rbx ; +0x68, 0x140365f58 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x6b, 0x140365f5b mov rax, [rbp+2E0h] ; +0x71, 0x140365f61 mov edx, esi ; +0x78, 0x140365f68 mov rcx, rbp ; +0x7a, 0x140365f6a mov [rax+rbx*8], rdi ; +0x7d, 0x140365f6d call GJEffectManager__getColorSprite ; +0x81, 0x140365f71 mov [rdi+90h], rax ; +0x86, 0x140365f76 mov [rax+158h], rdi ; +0x8d, 0x140365f7d mov rax, rdi ; +0x94, 0x140365f84 mov rdi, [rsp+28h+arg_0] ; +0x97, 0x140365f87 mov rbx, [rsp+28h+arg_8] ; +0x9c, 0x140365f8c mov rbp, [rsp+28h+arg_10] ; +0xa1, 0x140365f91 mov rsi, [rsp+28h+arg_18] ; +0xa6, 0x140365f96 add rsp, 20h ; +0xab, 0x140365f9b pop r14 ; +0xaf, 0x140365f9f retn ; +0xb1, 0x140365fa1