{"type": "func", "start": 4297891808, "end": 4297891912, "name": "GJEffectManager::setColorAction", "pseudocode": "// \n// GJEffectManager::setColorAction from 0x1002c9fe0 to 0x1002ca048 (104 bytes)\n// \n// 6 xrefs:\n// > LevelSettingsObject::init @ 0x1000da0e4\n// > LevelSettingsObject::init @ 0x1000da107\n// > LevelSettingsObject::init @ 0x1000da12a\n// > LevelSettingsObject::init @ 0x1000da151\n// > LevelSettingsObject::init @ 0x1000da174\n// > LevelSettingsObject::init @ 0x1000da197\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:09 +0000\n// \n\nchar *__fastcall GJEffectManager::setColorAction(_QWORD *a1, __int64 a2, int a3)\n{\n  int v3; // eax\n  __int64 v4; // r15\n  char *result; // rax\n\n  v3 = 0;\n  if ( a3 > 0 )\n    v3 = a3;\n  v4 = 1101;\n  if ( v3 < 1101 )\n    v4 = (unsigned int)v3;\n  *(_DWORD *)(a2 + 92) = v4;\n  cocos2d::CCDictionary::setObject_1(a1[41], a2, v4);\n  *(_QWORD *)(a1[80] + 8 * v4) = a2;\n  result = GJEffectManager::getColorSprite(a1, v4);\n  *(_QWORD *)(a2 + 144) = result;\n  *((_QWORD *)result + 42) = a2;\n  return result;\n}", "assembly": "; \n; GJEffectManager::setColorAction from 0x1002c9fe0 to 0x1002ca048 (104 bytes)\n; \n; 6 xrefs:\n; > LevelSettingsObject::init @ 0x1000da0e4\n; > LevelSettingsObject::init @ 0x1000da107\n; > LevelSettingsObject::init @ 0x1000da12a\n; > LevelSettingsObject::init @ 0x1000da151\n; > LevelSettingsObject::init @ 0x1000da174\n; > LevelSettingsObject::init @ 0x1000da197\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:09 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002c9fe0\nmov     rbp, rsp                                                       ; +0x1, 0x1002c9fe1\npush    r15                                                            ; +0x4, 0x1002c9fe4\npush    r14                                                            ; +0x6, 0x1002c9fe6\npush    rbx                                                            ; +0x8, 0x1002c9fe8\npush    rax                                                            ; +0x9, 0x1002c9fe9\nmov     rbx, rsi                                                       ; +0xa, 0x1002c9fea\nmov     r14, rdi                                                       ; +0xd, 0x1002c9fed\nxor     eax, eax                                                       ; +0x10, 0x1002c9ff0\ntest    edx, edx                                                       ; +0x12, 0x1002c9ff2\ncmovg   eax, edx                                                       ; +0x14, 0x1002c9ff4\ncmp     eax, 44Dh                                                      ; +0x17, 0x1002c9ff7\nmov     r15d, 44Dh                                                     ; +0x1c, 0x1002c9ffc\ncmovl   r15d, eax                                                      ; +0x22, 0x1002ca002\nmov     [rsi+5Ch], r15d                                                ; +0x26, 0x1002ca006\nmov     rdi, [rdi+148h]                                                ; +0x2a, 0x1002ca00a\nmov     rdx, r15                                                       ; +0x31, 0x1002ca011\ncall    cocos2d__CCDictionary__setObject_1                             ; +0x34, 0x1002ca014\nmov     rax, [r14+280h]                                                ; +0x39, 0x1002ca019\nmov     [rax+r15*8], rbx                                               ; +0x40, 0x1002ca020\nmov     rdi, r14                                                       ; +0x44, 0x1002ca024\nmov     esi, r15d                                                      ; +0x47, 0x1002ca027\ncall    GJEffectManager__getColorSprite                                ; +0x4a, 0x1002ca02a\nmov     [rbx+90h], rax                                                 ; +0x4f, 0x1002ca02f\nmov     [rax+150h], rbx                                                ; +0x56, 0x1002ca036\nadd     rsp, 8                                                         ; +0x5d, 0x1002ca03d\npop     rbx                                                            ; +0x61, 0x1002ca041\npop     r14                                                            ; +0x62, 0x1002ca042\npop     r15                                                            ; +0x64, 0x1002ca044\npop     rbp                                                            ; +0x66, 0x1002ca046\nretn                                                                   ; +0x67, 0x1002ca047", "xrefs": ["LevelSettingsObject::init @ 0x1000da0e4", "LevelSettingsObject::init @ 0x1000da107", "LevelSettingsObject::init @ 0x1000da12a", "LevelSettingsObject::init @ 0x1000da151", "LevelSettingsObject::init @ 0x1000da174", "LevelSettingsObject::init @ 0x1000da197"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}