{"type": "func", "start": 4296995696, "end": 4296995843, "name": "GJColorSetupLayer::updateSpriteColor", "pseudocode": "// \n// GJColorSetupLayer::updateSpriteColor from 0x1001ef370 to 0x1001ef403 (147 bytes)\n// \n// 0 xrefs:\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:26:32 +0000\n// \n\n__int64 __fastcall GJColorSetupLayer::updateSpriteColor(__int64 a1, __int64 a2, __int64 a3, unsigned int a4, double a5)\n{\n  char v5; // al\n  __int64 ColorAction; // r15\n  __int64 v9; // rax\n  __int64 CString; // rax\n\n  ColorAction = 0;\n  v9 = sub_10088E820(\"Col %i\", v5);\n  CString = cocos2d::CCString::getCString(v9);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a3 + 928LL))(a3, CString);\n  if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 320LL), a4) )\n    ColorAction = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 320LL), a4);\n  return ColorChannelSprite::updateValues(a2, ColorAction, a5);\n}", "assembly": "; \n; GJColorSetupLayer::updateSpriteColor from 0x1001ef370 to 0x1001ef403 (147 bytes)\n; \n; 0 xrefs:\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:26:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001ef370\nmov     rbp, rsp                                                       ; +0x1, 0x1001ef371\npush    r15                                                            ; +0x4, 0x1001ef374\npush    r14                                                            ; +0x6, 0x1001ef376\npush    r13                                                            ; +0x8, 0x1001ef378\npush    r12                                                            ; +0xa, 0x1001ef37a\npush    rbx                                                            ; +0xc, 0x1001ef37c\npush    rax; char                                                      ; +0xd, 0x1001ef37d\nmov     r14d, ecx                                                      ; +0xe, 0x1001ef37e\nmov     r13, rdx                                                       ; +0x11, 0x1001ef381\nmov     rbx, rsi                                                       ; +0x14, 0x1001ef384\nmov     r12, rdi                                                       ; +0x17, 0x1001ef387\nlea     rdi, aColI; \"Col %i\"                                           ; +0x1a, 0x1001ef38a\nxor     r15d, r15d                                                     ; +0x21, 0x1001ef391\nmov     esi, ecx                                                       ; +0x24, 0x1001ef394\nxor     eax, eax                                                       ; +0x26, 0x1001ef396\ncall    sub_10088E820                                                  ; +0x28, 0x1001ef398\nmov     rdi, rax                                                       ; +0x2d, 0x1001ef39d\ncall    cocos2d__CCString__getCString                                  ; +0x30, 0x1001ef3a0\nmov     rcx, [r13+0]                                                   ; +0x35, 0x1001ef3a5\nmov     rdi, r13                                                       ; +0x39, 0x1001ef3a9\nmov     rsi, rax                                                       ; +0x3c, 0x1001ef3ac\ncall    qword ptr [rcx+3A0h]                                           ; +0x3f, 0x1001ef3af\nmov     rax, [r12+2A8h]                                                ; +0x45, 0x1001ef3b5\nmov     rdi, [rax+140h]                                                ; +0x4d, 0x1001ef3bd\nmov     esi, r14d                                                      ; +0x54, 0x1001ef3c4\ncall    GJEffectManager__colorExists                                   ; +0x57, 0x1001ef3c7\ntest    al, al                                                         ; +0x5c, 0x1001ef3cc\njz      short loc_1001EF3EA                                            ; +0x5e, 0x1001ef3ce\nmov     rax, [r12+2A8h]                                                ; +0x60, 0x1001ef3d0\nmov     rdi, [rax+140h]                                                ; +0x68, 0x1001ef3d8\nmov     esi, r14d                                                      ; +0x6f, 0x1001ef3df\ncall    GJEffectManager__getColorAction                                ; +0x72, 0x1001ef3e2\nmov     r15, rax                                                       ; +0x77, 0x1001ef3e7\nmov     rdi, rbx                                                       ; +0x7a, 0x1001ef3ea\nmov     rsi, r15                                                       ; +0x7d, 0x1001ef3ed\nadd     rsp, 8                                                         ; +0x80, 0x1001ef3f0\npop     rbx                                                            ; +0x84, 0x1001ef3f4\npop     r12                                                            ; +0x85, 0x1001ef3f5\npop     r13                                                            ; +0x87, 0x1001ef3f7\npop     r14                                                            ; +0x89, 0x1001ef3f9\npop     r15                                                            ; +0x8b, 0x1001ef3fb\npop     rbp                                                            ; +0x8d, 0x1001ef3fd\njmp     ColorChannelSprite__updateValues                               ; +0x8e, 0x1001ef3fe", "xrefs": [], "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"}