{"type": "func", "start": 8132104, "end": 8132204, "name": "EditorUI::adjustCustomGridSize", "pseudocode": "// \n// EditorUI::adjustCustomGridSize from 0x7c1608 to 0x7c166c (100 bytes)\n// \n// 3 xrefs:\n// > EditorUI::handleEditorAction @ 0xbd7a2c\n// > EditorUI::handleEditorAction @ 0xbd8694\n// > <???> @ 0xeb480\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::adjustCustomGridSize(EditorUI *this, int a2)\n{\n  GameManager *v3; // x0\n\n  if ( *((_BYTE *)this + 656) )\n    return EditorUI::setCustomGridNodeSize(this, (float)a2 + *((float *)this + 163));\n  *((_BYTE *)this + 656) = 1;\n  v3 = (GameManager *)GameManager::sharedState(this);\n  GameManager::setGameVariable(v3, \"0194\", 1u);\n  return EditorUI::setCustomGridNodeSize(this, 30.0);\n}", "assembly": "; \n; EditorUI::adjustCustomGridSize from 0x7c1608 to 0x7c166c (100 bytes)\n; \n; 3 xrefs:\n; > EditorUI::handleEditorAction @ 0xbd7a2c\n; > EditorUI::handleEditorAction @ 0xbd8694\n; > <???> @ 0xeb480\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,#var_30]!                                ; +0x0, 0x7c1608\nMOV             X29, SP                                                ; +0x4, 0x7c160c\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x7c1610\nLDRB            W3, [X0,#0x290]                                        ; +0xc, 0x7c1614\nCBZ             W3, loc_7C1634                                         ; +0x10, 0x7c1618\nSCVTF           S0, W1                                                 ; +0x14, 0x7c161c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x18, 0x7c1620\nLDR             S1, [X0,#0x28C]                                        ; +0x1c, 0x7c1624\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x20, 0x7c1628\nFADD            S0, S0, S1; float                                      ; +0x24, 0x7c162c\nB               _ZN8EditorUI21setCustomGridNodeSizeEf; EditorUI::setCustomGridNodeSize(float) ; +0x28, 0x7c1630\nMOV             W2, #1                                                 ; +0x2c, 0x7c1634\nSTRB            W2, [X0,#0x290]                                        ; +0x30, 0x7c1638\nMOV             X19, X0                                                ; +0x34, 0x7c163c\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x38, 0x7c1640\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x7c1644\nLDR             X2, [X29,#0x30+var_8]; bool                            ; +0x40, 0x7c1648\nADRL            X1, a0194; \"0194\"                                      ; +0x44, 0x7c164c\nBL              _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0x4c, 0x7c1654\nMOV             X0, X19; this                                          ; +0x50, 0x7c1658\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x54, 0x7c165c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0x7c1660\nFMOV            S0, #30.0; float                                       ; +0x5c, 0x7c1664\nB               _ZN8EditorUI21setCustomGridNodeSizeEf; EditorUI::setCustomGridNodeSize(float) ; +0x60, 0x7c1668", "xrefs": ["EditorUI::handleEditorAction @ 0xbd7a2c", "EditorUI::handleEditorAction @ 0xbd8694", "<???> @ 0xeb480"], "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"}