{"type": "func", "start": 5373593008, "end": 5373593127, "name": "EffectGameObject::updateSpecialColor", "pseudocode": "// \n// EffectGameObject::updateSpecialColor from 0x1404a85b0 to 0x1404a8627 (119 bytes)\n// \n// 4 xrefs:\n// > EditorUI::getCreateBtn @ 0x14010ec17\n// > LevelEditorLayer::addSpecial @ 0x1402d7ec3\n// > SetupObjectTogglePopup::valueDidChange @ 0x14042a3ae\n// > <???> @ 0x1406dc8c0\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 EffectGameObject::updateSpecialColor(EffectGameObject *a1)\n{\n  cocos2d::CCNode *v2; // rax\n  cocos2d::CCNode *v3; // rcx\n  cocos2d::CCNode_vtbl *v4; // rax\n  cocos2d::CCNode_vtbl *v5; // rax\n  __int16 v6; // [rsp+30h] [rbp+8h] BYREF\n  char v7; // [rsp+32h] [rbp+Ah]\n  __int16 v8; // [rsp+38h] [rbp+10h] BYREF\n  char v9; // [rsp+3Ah] [rbp+12h]\n\n  if ( a1->m_objectID == 1049 )\n  {\n    v2 = a1->getChildByTag(a1, 998);\n    if ( v2 )\n    {\n      v3 = v2 + 1;\n      if ( a1->m_activateGroup )\n      {\n        v6 = -256;\n        v4 = v2[1].__vftable;\n        v7 = 127;\n        v4->copyWithZone(v3, (cocos2d::CCZone *)&v6);\n      }\n      else\n      {\n        v8 = 0x3FFF;\n        v5 = v2[1].__vftable;\n        v9 = 63;\n        v5->copyWithZone(v3, (cocos2d::CCZone *)&v8);\n      }\n    }\n  }\n}", "assembly": "; \n; EffectGameObject::updateSpecialColor from 0x1404a85b0 to 0x1404a8627 (119 bytes)\n; \n; 4 xrefs:\n; > EditorUI::getCreateBtn @ 0x14010ec17\n; > LevelEditorLayer::addSpecial @ 0x1402d7ec3\n; > SetupObjectTogglePopup::valueDidChange @ 0x14042a3ae\n; > <???> @ 0x1406dc8c0\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    rbx                                                            ; +0x0, 0x1404a85b0\nsub     rsp, 20h                                                       ; +0x2, 0x1404a85b2\ncmp     dword ptr [rcx+40Ch], 419h                                     ; +0x6, 0x1404a85b6\nmov     rbx, rcx                                                       ; +0x10, 0x1404a85c0\njnz     short loc_1404A8621                                            ; +0x13, 0x1404a85c3\nmov     rax, [rcx]                                                     ; +0x15, 0x1404a85c5\nmov     edx, 3E6h                                                      ; +0x18, 0x1404a85c8\ncall    qword ptr [rax+1C8h]                                           ; +0x1d, 0x1404a85cd\ntest    rax, rax                                                       ; +0x23, 0x1404a85d3\njz      short loc_1404A8621                                            ; +0x26, 0x1404a85d6\ncmp     byte ptr [rbx+675h], 0                                         ; +0x28, 0x1404a85d8\njz      short loc_1404A8604                                            ; +0x2f, 0x1404a85df\nlea     rcx, [rax+140h]                                                ; +0x31, 0x1404a85e1\nmov     [rsp+28h+arg_0], 0FF00h                                        ; +0x38, 0x1404a85e8\nmov     rax, [rcx]                                                     ; +0x3f, 0x1404a85ef\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x42, 0x1404a85f2\nmov     [rsp+28h+arg_2], 7Fh                                           ; +0x47, 0x1404a85f7\ncall    qword ptr [rax]                                                ; +0x4c, 0x1404a85fc\nadd     rsp, 20h                                                       ; +0x4e, 0x1404a85fe\npop     rbx                                                            ; +0x52, 0x1404a8602\nretn                                                                   ; +0x53, 0x1404a8603\nlea     rcx, [rax+140h]                                                ; +0x54, 0x1404a8604\nmov     [rsp+28h+arg_8], 3FFFh                                         ; +0x5b, 0x1404a860b\nmov     rax, [rcx]                                                     ; +0x62, 0x1404a8612\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x65, 0x1404a8615\nmov     [rsp+28h+arg_A], 3Fh ; '?'                                     ; +0x6a, 0x1404a861a\ncall    qword ptr [rax]                                                ; +0x6f, 0x1404a861f\nadd     rsp, 20h                                                       ; +0x71, 0x1404a8621\npop     rbx                                                            ; +0x75, 0x1404a8625\nretn                                                                   ; +0x76, 0x1404a8626", "xrefs": ["EditorUI::getCreateBtn @ 0x14010ec17", "LevelEditorLayer::addSpecial @ 0x1402d7ec3", "SetupObjectTogglePopup::valueDidChange @ 0x14042a3ae", "<???> @ 0x1406dc8c0"], "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"}