{"type": "func", "start": 4823764, "end": 4823826, "name": "GJEffectManager::updateColors", "pseudocode": "// \n// GJEffectManager::updateColors from 0x499ad4 to 0x499b12 (62 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::prepareCreateObjectsFromSetup @ 0x31ab66\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::updateColors(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)\n{\n  cocos2d::CCDictionary *m_unkObject148; // r3\n  cocos2d::CCDictElement *m_pElements; // r3\n  cocos2d::CCDictElement *next; // r4\n  cocos2d::CCDictElement *v6; // r2\n  int v7; // [sp+0h] [bp-8h]\n  int v8; // [sp+4h] [bp-4h]\n\n  v8 = *(_DWORD *)&a2.r;\n  v7 = *(_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      next = (cocos2d::CCDictElement *)m_pElements->hh.next;\n    else\n      next = nullptr;\n    while ( m_pElements )\n    {\n      ColorAction::updateCustomColor(\n        (ColorAction *)m_pElements->m_pObject,\n        (cocos2d::ccColor3B)v8,\n        (cocos2d::ccColor3B)v7);\n      if ( next )\n        v6 = (cocos2d::CCDictElement *)next->hh.next;\n      else\n        v6 = nullptr;\n      m_pElements = next;\n      next = v6;\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::updateColors from 0x499ad4 to 0x499b12 (62 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::prepareCreateObjectsFromSetup @ 0x31ab66\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\nPUSH            {R0,R1,R4,LR}                                          ; +0x0, 0x499ad4\nSTR             R1, [SP,#8+var_4]                                      ; +0x2, 0x499ad6\nSTR             R2, [SP,#8+var_8]                                      ; +0x4, 0x499ad8\nLDR.W           R3, [R0,#0x10C]                                        ; +0x6, 0x499ada\nCBZ             R3, loc_499B0E                                         ; +0xa, 0x499ade\nLDR             R3, [R3,#0x34]                                         ; +0xc, 0x499ae0\nCBZ             R3, loc_499AEA                                         ; +0xe, 0x499ae2\nLDR.W           R4, [R3,#0x110]                                        ; +0x10, 0x499ae4\nB               loc_499B04                                             ; +0x14, 0x499ae8\nMOV             R4, R3                                                 ; +0x16, 0x499aea\nB               loc_499B04                                             ; +0x18, 0x499aec\nLDR.W           R0, [R3,#0x104]                                        ; +0x1a, 0x499aee\nLDR             R1, [SP,#8+var_4]                                      ; +0x1e, 0x499af2\nLDR             R2, [SP,#8+var_8]                                      ; +0x20, 0x499af4\nBL              _ZN11ColorAction17updateCustomColorEN7cocos2d10_ccColor3BES1_; ColorAction::updateCustomColor(cocos2d::_ccColor3B,cocos2d::_ccColor3B) ; +0x22, 0x499af6\nCBZ             R4, loc_499B0A                                         ; +0x26, 0x499afa\nLDR.W           R2, [R4,#0x110]                                        ; +0x28, 0x499afc\nMOV             R3, R4                                                 ; +0x2c, 0x499b00\nMOV             R4, R2                                                 ; +0x2e, 0x499b02\nCMP             R3, #0                                                 ; +0x30, 0x499b04\nBNE             loc_499AEE                                             ; +0x32, 0x499b06\nB               loc_499B0E                                             ; +0x34, 0x499b08\nMOV             R2, R4                                                 ; +0x36, 0x499b0a\nB               loc_499B00                                             ; +0x38, 0x499b0c\nADD             SP, SP, #8                                             ; +0x3a, 0x499b0e\nPOP             {R4,PC}                                                ; +0x3c, 0x499b10", "xrefs": ["PlayLayer::prepareCreateObjectsFromSetup @ 0x31ab66"], "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"}