{"type": "func", "start": 9062428, "end": 9062560, "name": "GJEffectManager::updateColorEffects", "pseudocode": "// \n// GJEffectManager::updateColorEffects from 0x8a481c to 0x8a48a0 (132 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::updateEffects @ 0x8b6328\n// > <???> @ 0x69660\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJEffectManager::updateColorEffects(GJEffectManager *a1, float a2)\n{\n  cocos2d::CCDictionary *m_unkObject148; // x0\n  cocos2d::CCDictElement *m_pElements; // x0\n  cocos2d::CCDictElement *i; // x20\n  cocos2d::CCObject *m_pObject; // x19\n  __int64 v7; // x1\n\n  m_unkObject148 = a1->m_unkObject148;\n  if ( m_unkObject148 )\n  {\n    m_pElements = m_unkObject148->m_pElements;\n    if ( m_pElements )\n    {\n      for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )\n      {\n        m_pObject = m_pElements->m_pObject;\n        ColorAction::step((ColorAction *)m_pObject, a2);\n        m_pElements = i;\n        if ( !m_pObject[2].m_uID )\n        {\n          v7 = *(_QWORD *)&m_pObject[2].m_uIndexInArray;\n          *(_WORD *)(v7 + 320) = WORD1(m_pObject[1].__vftable);\n          *(_BYTE *)(v7 + 322) = BYTE4(m_pObject[1].__vftable);\n          *(float *)(v7 + 316) = *(float *)&m_pObject[1].m_uID * 255.0;\n        }\n        if ( !i )\n          break;\n      }\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::updateColorEffects from 0x8a481c to 0x8a48a0 (132 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::updateEffects @ 0x8b6328\n; > <???> @ 0x69660\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x30+var_s0]!                          ; +0x0, 0x8a481c\nMOV             X29, SP                                                ; +0x4, 0x8a4820\nSTP             D8, D9, [SP,#var_s20]                                  ; +0x8, 0x8a4824\nLDR             X0, [X0,#0x148]                                        ; +0xc, 0x8a4828\nSTP             X19, X20, [SP,#var_s10]                                ; +0x10, 0x8a482c\nCBZ             X0, loc_8A4890                                         ; +0x14, 0x8a4830\nLDR             X0, [X0,#0x38]                                         ; +0x18, 0x8a4834\nCBZ             X0, loc_8A4890                                         ; +0x1c, 0x8a4838\nFMOV            S8, S0                                                 ; +0x20, 0x8a483c\nLDR             X20, [X0,#0x120]                                       ; +0x24, 0x8a4840\nLDR             S9, =0x437F0000                                        ; +0x28, 0x8a4844\nLDR             X19, [X0,#0x108]                                       ; +0x2c, 0x8a4848\nFMOV            S0, S8; float                                          ; +0x30, 0x8a484c\nMOV             X0, X19; this                                          ; +0x34, 0x8a4850\nBL              _ZN11ColorAction4stepEf; ColorAction::step(float)      ; +0x38, 0x8a4854\nLDR             W1, [X19,#0x78]                                        ; +0x3c, 0x8a4858\nMOV             X0, X20                                                ; +0x40, 0x8a485c\nCBNZ            W1, loc_8A4884                                         ; +0x44, 0x8a4860\nLDR             X1, [X19,#0x90]                                        ; +0x48, 0x8a4864\nLDRH            W2, [X19,#0x3A]                                        ; +0x4c, 0x8a4868\nSTRH            W2, [X1,#0x140]                                        ; +0x50, 0x8a486c\nLDRB            W2, [X19,#0x3C]                                        ; +0x54, 0x8a4870\nSTRB            W2, [X1,#0x142]                                        ; +0x58, 0x8a4874\nLDR             S1, [X19,#0x40]                                        ; +0x5c, 0x8a4878\nFMUL            S1, S1, S9                                             ; +0x60, 0x8a487c\nSTR             S1, [X1,#0x13C]                                        ; +0x64, 0x8a4880\nCBZ             X20, loc_8A4890                                        ; +0x68, 0x8a4884\nLDR             X20, [X20,#0x120]                                      ; +0x6c, 0x8a4888\nB               loc_8A4848                                             ; +0x70, 0x8a488c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x74, 0x8a4890\nLDP             D8, D9, [SP,#var_s20]                                  ; +0x78, 0x8a4894\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x7c, 0x8a4898\nRET                                                                    ; +0x80, 0x8a489c", "xrefs": ["GJEffectManager::updateEffects @ 0x8b6328", "<???> @ 0x69660"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}