{"type": "func", "start": 4297886944, "end": 4297887030, "name": "GJEffectManager::updateColors", "pseudocode": "// \n// GJEffectManager::updateColors from 0x1002c8ce0 to 0x1002c8d36 (86 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::prepareCreateObjectsFromSetup @ 0x10007a70b\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\n_QWORD *__fastcall GJEffectManager::updateColors(__int64 a1, int a2, int a3)\n{\n  _QWORD *result; // rax\n  int v4; // edi\n  __int64 v5; // rcx\n  int v6; // r8d\n\n  result = *(_QWORD **)(a1 + 328);\n  if ( result )\n  {\n    result = (_QWORD *)result[7];\n    while ( 1 )\n    {\n      while ( 1 )\n      {\n        if ( !result )\n          return result;\n        v5 = result[33];\n        result = (_QWORD *)result[36];\n        v6 = *(_DWORD *)(v5 + 88);\n        v4 = a2;\n        if ( v6 != 1 )\n          break;\nLABEL_4:\n        *(_WORD *)(v5 + 72) = v4;\n        *(_BYTE *)(v5 + 74) = BYTE2(v4);\n      }\n      if ( v6 == 2 )\n      {\n        v4 = a3;\n        goto LABEL_4;\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJEffectManager::updateColors from 0x1002c8ce0 to 0x1002c8d36 (86 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::prepareCreateObjectsFromSetup @ 0x10007a70b\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; \nmov     rax, [rdi+148h]                                                ; +0x0, 0x1002c8ce0\ntest    rax, rax                                                       ; +0x7, 0x1002c8ce7\njz      short locret_1002C8D35                                         ; +0xa, 0x1002c8cea\npush    rbp                                                            ; +0xc, 0x1002c8cec\nmov     rbp, rsp                                                       ; +0xd, 0x1002c8ced\nmov     rax, [rax+38h]                                                 ; +0x10, 0x1002c8cf0\njmp     short loc_1002C8D0D                                            ; +0x14, 0x1002c8cf4\nalign 20h                                                              ; +0x16, 0x1002c8cf6\nmov     edi, edx                                                       ; +0x20, 0x1002c8d00\nmov     [rcx+48h], di                                                  ; +0x22, 0x1002c8d02\nshr     edi, 10h                                                       ; +0x26, 0x1002c8d06\nmov     [rcx+4Ah], dil                                                 ; +0x29, 0x1002c8d09\ntest    rax, rax                                                       ; +0x2d, 0x1002c8d0d\njz      short loc_1002C8D34                                            ; +0x30, 0x1002c8d10\nmov     rcx, [rax+108h]                                                ; +0x32, 0x1002c8d12\nmov     rax, [rax+120h]                                                ; +0x39, 0x1002c8d19\nmov     r8d, [rcx+58h]                                                 ; +0x40, 0x1002c8d20\nmov     edi, esi                                                       ; +0x44, 0x1002c8d24\ncmp     r8d, 1                                                         ; +0x46, 0x1002c8d26\njz      short loc_1002C8D02                                            ; +0x4a, 0x1002c8d2a\ncmp     r8d, 2                                                         ; +0x4c, 0x1002c8d2c\njz      short loc_1002C8D00                                            ; +0x50, 0x1002c8d30\njmp     short loc_1002C8D0D                                            ; +0x52, 0x1002c8d32\npop     rbp                                                            ; +0x54, 0x1002c8d34\nretn                                                                   ; +0x55, 0x1002c8d35", "xrefs": ["PlayLayer::prepareCreateObjectsFromSetup @ 0x10007a70b"], "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"}