{"type": "func", "start": 9060380, "end": 9060480, "name": "GJEffectManager::updateColors", "pseudocode": "// \n// GJEffectManager::updateColors from 0x8a401c to 0x8a4080 (100 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::prepareCreateObjectsFromSetup @ 0x5d5eb4\n// > <???> @ 0xbd318\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\n// local variable allocation has failed, the output may be wrong!\nvoid GJEffectManager::updateColors(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)\n{\n  cocos2d::CCDictionary *m_unkObject148; // x0\n  cocos2d::CCDictElement *m_pElements; // x0\n  cocos2d::CCDictElement *i; // x19\n  int v6; // [xsp+30h] [xbp+30h]\n  int v7; // [xsp+38h] [xbp+38h]\n\n  v7 = *(_DWORD *)&a2.r;\n  v6 = *(_DWORD *)&a3.r;\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        ColorAction::updateCustomColor(\n          (ColorAction *)m_pElements->m_pObject,\n          (cocos2d::ccColor3B)v7,\n          (cocos2d::ccColor3B)v6);\n        m_pElements = i;\n        if ( !i )\n          break;\n      }\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::updateColors from 0x8a401c to 0x8a4080 (100 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::prepareCreateObjectsFromSetup @ 0x5d5eb4\n; > <???> @ 0xbd318\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,#var_40]!                                ; +0x0, 0x8a401c\nMOV             X29, SP                                                ; +0x4, 0x8a4020\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x8a4024\nSTR             X21, [SP,#0x40+var_20]                                 ; +0xc, 0x8a4028\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x10, 0x8a402c\nSTR             X2, [X29,#0x40+var_10]                                 ; +0x14, 0x8a4030\nLDR             X0, [X0,#0x148]                                        ; +0x18, 0x8a4034\nCBZ             X0, loc_8A4070                                         ; +0x1c, 0x8a4038\nLDR             X0, [X0,#0x38]                                         ; +0x20, 0x8a403c\nCBZ             X0, loc_8A4070                                         ; +0x24, 0x8a4040\nLDR             X19, [X0,#0x120]                                       ; +0x28, 0x8a4044\nADD             X21, X29, #0x40+var_8                                  ; +0x2c, 0x8a4048\nADD             X20, X29, #0x40+var_10                                 ; +0x30, 0x8a404c\nB               loc_8A4058                                             ; +0x34, 0x8a4050\nLDR             X19, [X19,#0x120]                                      ; +0x38, 0x8a4054\nLDR             X0, [X0,#0x108]                                        ; +0x3c, 0x8a4058\nLDR             X1, [X21]                                              ; +0x40, 0x8a405c\nLDR             X2, [X20]                                              ; +0x44, 0x8a4060\nBL              _ZN11ColorAction17updateCustomColorEN7cocos2d10_ccColor3BES1_; ColorAction::updateCustomColor(cocos2d::_ccColor3B,cocos2d::_ccColor3B) ; +0x48, 0x8a4064\nMOV             X0, X19                                                ; +0x4c, 0x8a4068\nCBNZ            X19, loc_8A4054                                        ; +0x50, 0x8a406c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x54, 0x8a4070\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x58, 0x8a4074\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x5c, 0x8a4078\nRET                                                                    ; +0x60, 0x8a407c", "xrefs": ["PlayLayer::prepareCreateObjectsFromSetup @ 0x5d5eb4", "<???> @ 0xbd318"], "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"}