{"type": "func", "start": 8131756, "end": 8131848, "name": "EditorUI::setCustomGridEnabled", "pseudocode": "// \n// EditorUI::setCustomGridEnabled from 0x7c14ac to 0x7c1508 (92 bytes)\n// \n// 3 xrefs:\n// > EditorUI::toggleCustomGridEnabled @ 0x7c1510\n// > GridSettingsLayer::valueDidChange @ 0xcdbca4\n// > <???> @ 0xf1c00\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:54:06 +0000\n// \n\n__int64 __fastcall EditorUI::setCustomGridEnabled(EditorUI *this, unsigned __int8 a2)\n{\n  int v2; // w19\n  GameManager *v4; // x0\n\n  v2 = a2;\n  *((_BYTE *)this + 656) = a2;\n  v4 = (GameManager *)GameManager::sharedState(this);\n  GameManager::setGameVariable(v4, \"0194\", v2);\n  if ( v2 && *((float *)this + 163) <= 0.0 )\n    return EditorUI::setCustomGridNodeSize(this, 30.0);\n  else\n    return EditorUI::updateGridNodeSize((cocos2d::CCArray **)this);\n}", "assembly": "; \n; EditorUI::setCustomGridEnabled from 0x7c14ac to 0x7c1508 (92 bytes)\n; \n; 3 xrefs:\n; > EditorUI::toggleCustomGridEnabled @ 0x7c1510\n; > GridSettingsLayer::valueDidChange @ 0xcdbca4\n; > <???> @ 0xf1c00\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:54:06 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7c14ac\nMOV             X29, SP                                                ; +0x4, 0x7c14b0\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x7c14b4\nUXTB            W19, W1                                                ; +0xc, 0x7c14b8\nSTRB            W19, [X0,#0x290]                                       ; +0x10, 0x7c14bc\nMOV             X20, X0                                                ; +0x14, 0x7c14c0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x7c14c4\nADRP            X1, #a0194@PAGE; \"0194\"                                ; +0x1c, 0x7c14c8\nMOV             W2, W19; bool                                          ; +0x20, 0x7c14cc\nADD             X1, X1, #a0194@PAGEOFF; \"0194\"                         ; +0x24, 0x7c14d0\nBL              _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0x28, 0x7c14d4\nMOV             X0, X20; this                                          ; +0x2c, 0x7c14d8\nCBZ             W19, loc_7C14EC                                        ; +0x30, 0x7c14dc\nLDR             S0, [X20,#0x28C]                                       ; +0x34, 0x7c14e0\nFCMPE           S0, #0.0                                               ; +0x38, 0x7c14e4\nB.LS            loc_7C14F8                                             ; +0x3c, 0x7c14e8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x7c14ec\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x7c14f0\nB               _ZN8EditorUI18updateGridNodeSizeEv; EditorUI::updateGridNodeSize(void) ; +0x48, 0x7c14f4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x7c14f8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x7c14fc\nFMOV            S0, #30.0; float                                       ; +0x54, 0x7c1500\nB               _ZN8EditorUI21setCustomGridNodeSizeEf; EditorUI::setCustomGridNodeSize(float) ; +0x58, 0x7c1504", "xrefs": ["EditorUI::toggleCustomGridEnabled @ 0x7c1510", "GridSettingsLayer::valueDidChange @ 0xcdbca4", "<???> @ 0xf1c00"], "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"}