{"type": "func", "start": 8876720, "end": 8876892, "name": "EffectGameObject::updateSpecialColor", "pseudocode": "// \n// EffectGameObject::updateSpecialColor from 0x8772b0 to 0x87735c (172 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x7a075c\n// > SetupObjectTogglePopup::valueDidChange @ 0xa41ef0\n// > EditorUI::getCreateBtn @ 0xbe2690\n// > <???> @ 0xcc8b0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:50 +0000\n// \n\n__int64 __fastcall EffectGameObject::updateSpecialColor(EffectGameObject *this)\n{\n  __int64 v2; // x0\n\n  if ( *((_DWORD *)this + 257) == 1049 )\n  {\n    v2 = (*(__int64 (__fastcall **)(EffectGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 998);\n    if ( v2 )\n      (*(void (**)(void))(*(_QWORD *)v2 + 960LL))();\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EffectGameObject::updateSpecialColor from 0x8772b0 to 0x87735c (172 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x7a075c\n; > SetupObjectTogglePopup::valueDidChange @ 0xa41ef0\n; > EditorUI::getCreateBtn @ 0xbe2690\n; > <???> @ 0xcc8b0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:50 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x8772b0\nMOV             X29, SP                                                ; +0x4, 0x8772b4\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x8772b8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x8772bc\nMOV             X20, X0                                                ; +0x10, 0x8772c0\nLDR             W2, [X0,#0x404]                                        ; +0x14, 0x8772c4\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x8772c8\nCMP             W2, #0x419                                             ; +0x1c, 0x8772cc\nLDR             X1, [X1]                                               ; +0x20, 0x8772d0\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x24, 0x8772d4\nB.EQ            loc_8772FC                                             ; +0x28, 0x8772d8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x2c, 0x8772dc\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x30, 0x8772e0\nLDR             X0, [X19]                                              ; +0x34, 0x8772e4\nCMP             X1, X0                                                 ; +0x38, 0x8772e8\nB.NE            loc_877358                                             ; +0x3c, 0x8772ec\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x40, 0x8772f0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x44, 0x8772f4\nRET                                                                    ; +0x48, 0x8772f8\nLDR             X2, [X0]                                               ; +0x4c, 0x8772fc\nMOV             W1, #0x3E6                                             ; +0x50, 0x877300\nLDR             X2, [X2,#0x1E0]                                        ; +0x54, 0x877304\nBLR             X2                                                     ; +0x58, 0x877308\nCBZ             X0, loc_8772DC                                         ; +0x5c, 0x87730c\nLDR             X2, [X0]                                               ; +0x60, 0x877310\nLDRB            W1, [X20,#0x665]                                       ; +0x64, 0x877314\nLDR             X2, [X2,#0x3C0]                                        ; +0x68, 0x877318\nCBNZ            W1, loc_877340                                         ; +0x6c, 0x87731c\nMOV             W1, #0x3F ; '?'                                        ; +0x70, 0x877320\nMOV             W3, #0xFFFFFFFF                                        ; +0x74, 0x877324\nSTRB            W1, [X29,#0x30+var_F]                                  ; +0x78, 0x877328\nSTRB            W3, [X29,#0x30+var_10]                                 ; +0x7c, 0x87732c\nSTRB            W1, [X29,#0x30+var_E]                                  ; +0x80, 0x877330\nADD             X1, X29, #0x30+var_10                                  ; +0x84, 0x877334\nBLR             X2                                                     ; +0x88, 0x877338\nB               loc_8772DC                                             ; +0x8c, 0x87733c\nMOV             W1, #0xFFFFFFFF                                        ; +0x90, 0x877340\nSTRB            WZR, [X29,#0x30+var_10]                                ; +0x94, 0x877344\nSTRB            W1, [X29,#0x30+var_F]                                  ; +0x98, 0x877348\nMOV             W1, #0x7F                                              ; +0x9c, 0x87734c\nSTRB            W1, [X29,#0x30+var_E]                                  ; +0xa0, 0x877350\nB               loc_877334                                             ; +0xa4, 0x877354\nBL              .__stack_chk_fail                                      ; +0xa8, 0x877358", "xrefs": ["LevelEditorLayer::addSpecial @ 0x7a075c", "SetupObjectTogglePopup::valueDidChange @ 0xa41ef0", "EditorUI::getCreateBtn @ 0xbe2690", "<???> @ 0xcc8b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}