{"type": "func", "start": 4295028812, "end": 4295028884, "name": "GJEffectManager::updateColors", "pseudocode": "// \n// GJEffectManager::updateColors from 0x10000f04c to 0x10000f094 (72 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::prepareCreateObjectsFromSetup @ 0x10011631c\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 __fastcall GJEffectManager::updateColors(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)\n{\n  cocos2d::CCDictionary *m_unkObject148; // x8\n  cocos2d::CCDictElement *m_pElements; // x8\n  cocos2d::CCObject *m_pObject; // x9\n  int m_uIndexInArray; // w11\n  int v7; // w10\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      while ( 1 )\n      {\n        m_pObject = m_pElements->m_pObject;\n        m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;\n        m_uIndexInArray = m_pObject[1].m_uIndexInArray;\n        v7 = *(_DWORD *)&a2.r;\n        if ( m_uIndexInArray == 1 )\n          goto LABEL_6;\n        if ( m_uIndexInArray == 2 )\n          break;\nLABEL_7:\n        if ( !m_pElements )\n          return;\n      }\n      v7 = *(_DWORD *)&a3.r;\nLABEL_6:\n      LOWORD(m_pObject[1].m_nTag) = v7;\n      BYTE2(m_pObject[1].m_nTag) = BYTE2(v7);\n      goto LABEL_7;\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::updateColors from 0x10000f04c to 0x10000f094 (72 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::prepareCreateObjectsFromSetup @ 0x10011631c\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\nLDR             X8, [X0,#0x148]                                        ; +0x0, 0x10000f04c\nCBZ             X8, locret_10000F090                                   ; +0x4, 0x10000f050\nLDR             X8, [X8,#0x38]                                         ; +0x8, 0x10000f054\nCBZ             X8, locret_10000F090                                   ; +0xc, 0x10000f058\nLDR             X9, [X8,#0x108]                                        ; +0x10, 0x10000f05c\nLDR             X8, [X8,#0x120]                                        ; +0x14, 0x10000f060\nLDR             W11, [X9,#0x58]                                        ; +0x18, 0x10000f064\nMOV             X10, X1                                                ; +0x1c, 0x10000f068\nCMP             W11, #1                                                ; +0x20, 0x10000f06c\nB.EQ            loc_10000F080                                          ; +0x24, 0x10000f070\nCMP             W11, #2                                                ; +0x28, 0x10000f074\nB.NE            loc_10000F08C                                          ; +0x2c, 0x10000f078\nMOV             X10, X2                                                ; +0x30, 0x10000f07c\nSTRH            W10, [X9,#0x48]                                        ; +0x34, 0x10000f080\nUBFX            X10, X10, #0x10, #0x10                                 ; +0x38, 0x10000f084\nSTRB            W10, [X9,#0x4A]                                        ; +0x3c, 0x10000f088\nCBNZ            X8, loc_10000F05C                                      ; +0x40, 0x10000f08c\nRET                                                                    ; +0x44, 0x10000f090", "xrefs": ["PlayLayer::prepareCreateObjectsFromSetup @ 0x10011631c"], "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"}