{"type": "func", "start": 4297977872, "end": 4297977983, "name": "GJEffectManager::addAllInheritedColorActions", "pseudocode": "// \n// GJEffectManager::addAllInheritedColorActions from 0x1002df010 to 0x1002df07f (111 bytes)\n// \n// 0 xrefs:\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 __fastcall GJEffectManager::addAllInheritedColorActions(GJEffectManager *a1, cocos2d::CCArray *a2)\n{\n  cocos2d::CCDictionary *m_unkObject148; // rax\n  cocos2d::CCDictElement *m_pElements; // r15\n  GJEffectManager *v4; // rbx\n  cocos2d::CCObject *m_pObject; // r14\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      v4 = (GJEffectManager *)a2;\n      do\n      {\n        m_pObject = m_pElements->m_pObject;\n        m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;\n        if ( (int)m_pObject[2].m_uID > 0 )\n        {\n          if ( !v4 )\n            v4 = (GJEffectManager *)sub_10071F9E0(a1, a2);\n          a1 = v4;\n          a2 = (cocos2d::CCArray *)m_pObject;\n          sub_10071FCD0(v4, m_pObject);\n        }\n      }\n      while ( m_pElements );\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::addAllInheritedColorActions from 0x1002df010 to 0x1002df07f (111 bytes)\n; \n; 0 xrefs:\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\nmov     rax, [rdi+148h]                                                ; +0x0, 0x1002df010\ntest    rax, rax                                                       ; +0x7, 0x1002df017\njz      short locret_1002DF07E                                         ; +0xa, 0x1002df01a\npush    rbp                                                            ; +0xc, 0x1002df01c\nmov     rbp, rsp                                                       ; +0xd, 0x1002df01d\npush    r15                                                            ; +0x10, 0x1002df020\npush    r14                                                            ; +0x12, 0x1002df022\npush    rbx                                                            ; +0x14, 0x1002df024\npush    rax                                                            ; +0x15, 0x1002df025\nmov     r15, [rax+38h]                                                 ; +0x16, 0x1002df026\ntest    r15, r15                                                       ; +0x1a, 0x1002df02a\njz      short loc_1002DF074                                            ; +0x1d, 0x1002df02d\nmov     rbx, rsi                                                       ; +0x1f, 0x1002df02f\njmp     short loc_1002DF050                                            ; +0x22, 0x1002df032\nalign 20h                                                              ; +0x24, 0x1002df034\nmov     rdi, rbx                                                       ; +0x30, 0x1002df040\nmov     rsi, r14                                                       ; +0x33, 0x1002df043\ncall    sub_10071FCD0                                                  ; +0x36, 0x1002df046\ntest    r15, r15                                                       ; +0x3b, 0x1002df04b\njz      short loc_1002DF074                                            ; +0x3e, 0x1002df04e\nmov     r14, [r15+108h]                                                ; +0x40, 0x1002df050\nmov     r15, [r15+120h]                                                ; +0x47, 0x1002df057\ncmp     dword ptr [r14+78h], 0                                         ; +0x4e, 0x1002df05e\njle     short loc_1002DF04B                                            ; +0x53, 0x1002df063\ntest    rbx, rbx                                                       ; +0x55, 0x1002df065\njnz     short loc_1002DF040                                            ; +0x58, 0x1002df068\ncall    sub_10071F9E0                                                  ; +0x5a, 0x1002df06a\nmov     rbx, rax                                                       ; +0x5f, 0x1002df06f\njmp     short loc_1002DF040                                            ; +0x62, 0x1002df072\nadd     rsp, 8                                                         ; +0x64, 0x1002df074\npop     rbx                                                            ; +0x68, 0x1002df078\npop     r14                                                            ; +0x69, 0x1002df079\npop     r15                                                            ; +0x6b, 0x1002df07b\npop     rbp                                                            ; +0x6d, 0x1002df07d\nretn                                                                   ; +0x6e, 0x1002df07e", "xrefs": [], "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"}