; ; GJEffectManager::setColorAction from 0x140366100 to 0x14036617d (125 bytes) ; ; 3 xrefs: ; > GJEffectManager::setupFromString @ 0x14036e67a ; > GJEffectManager::loadFromState @ 0x14036ecd6 ; > @ 0x1409216d4 ; ; 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_0], rbx ; +0x0, 0x140366100 mov [rsp+arg_8], rbp ; +0x5, 0x140366105 mov [rsp+arg_10], rsi ; +0xa, 0x14036610a push rdi ; +0xf, 0x14036610f sub rsp, 20h ; +0x10, 0x140366110 xor eax, eax ; +0x14, 0x140366114 mov esi, r8d ; +0x16, 0x140366116 test r8d, r8d ; +0x19, 0x140366119 mov rdi, rcx ; +0x1c, 0x14036611c mov rbp, rdx ; +0x1f, 0x14036611f cmovs esi, eax ; +0x22, 0x140366122 mov eax, 44Dh ; +0x25, 0x140366125 cmp esi, eax ; +0x2a, 0x14036612a cmovg esi, eax ; +0x2c, 0x14036612c mov [rdx+5Ch], esi ; +0x2f, 0x14036612f mov rcx, [rcx+148h] ; +0x32, 0x140366132 movsxd rbx, esi ; +0x39, 0x140366139 mov r8, rbx ; +0x3c, 0x14036613c call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x3f, 0x14036613f mov rax, [rdi+2E0h] ; +0x45, 0x140366145 mov edx, esi ; +0x4c, 0x14036614c mov rcx, rdi ; +0x4e, 0x14036614e mov [rax+rbx*8], rbp ; +0x51, 0x140366151 call GJEffectManager__getColorSprite ; +0x55, 0x140366155 mov rbx, [rsp+28h+arg_0] ; +0x5a, 0x14036615a mov rsi, [rsp+28h+arg_10] ; +0x5f, 0x14036615f mov [rbp+90h], rax ; +0x64, 0x140366164 mov [rax+158h], rbp ; +0x6b, 0x14036616b mov rbp, [rsp+28h+arg_8] ; +0x72, 0x140366172 add rsp, 20h ; +0x77, 0x140366177 pop rdi ; +0x7b, 0x14036617b retn ; +0x7c, 0x14036617c