{"type": "func", "start": 4300076516, "end": 4300076612, "name": "GridSettingsLayer::getValue", "pseudocode": "// \n// GridSettingsLayer::getValue from 0x1004df5e4 to 0x1004df644 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100992318\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 11:06:36 +0000\n// \n\nfloat __fastcall GridSettingsLayer::getValue(_QWORD *a1, int a2)\n{\n  __int64 v2; // x8\n  float result; // s0\n  __int64 v4; // x8\n\n  if ( a2 == -2 )\n  {\n    v4 = a1[127];\n    if ( v4 )\n    {\n      result = *(float *)(v4 + 652);\n      if ( result <= 0.0 )\n        return 30.0;\n    }\n    else\n    {\n      return 30.0;\n    }\n  }\n  else if ( a2 == -1 )\n  {\n    v2 = a1[127];\n    if ( v2 )\n    {\n      result = 0.0;\n      if ( *(_BYTE *)(v2 + 656) )\n        return 1.0;\n    }\n    else\n    {\n      return 0.0;\n    }\n  }\n  else\n  {\n    return SetupTriggerPopup::getValue(a1, a2);\n  }\n  return result;\n}", "assembly": "; \n; GridSettingsLayer::getValue from 0x1004df5e4 to 0x1004df644 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100992318\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 11:06:36 +0000\n; \nCMN             W1, #2                                                 ; +0x0, 0x1004df5e4\nB.EQ            loc_1004DF614                                          ; +0x4, 0x1004df5e8\nCMN             W1, #1                                                 ; +0x8, 0x1004df5ec\nB.NE            loc_1004DF630                                          ; +0xc, 0x1004df5f0\nLDR             X8, [X0,#0x3F8]                                        ; +0x10, 0x1004df5f4\nCBZ             X8, loc_1004DF634                                      ; +0x14, 0x1004df5f8\nLDRB            W8, [X8,#0x290]                                        ; +0x18, 0x1004df5fc\nCMP             W8, #0                                                 ; +0x1c, 0x1004df600\nFMOV            S0, WZR                                                ; +0x20, 0x1004df604\nFMOV            S1, #1.0                                               ; +0x24, 0x1004df608\nFCSEL           S0, S1, S0, NE                                         ; +0x28, 0x1004df60c\nRET                                                                    ; +0x2c, 0x1004df610\nLDR             X8, [X0,#0x3F8]                                        ; +0x30, 0x1004df614\nCBZ             X8, loc_1004DF63C                                      ; +0x34, 0x1004df618\nLDR             S0, [X8,#0x28C]                                        ; +0x38, 0x1004df61c\nFCMP            S0, #0.0                                               ; +0x3c, 0x1004df620\nFMOV            S1, #30.0                                              ; +0x40, 0x1004df624\nFCSEL           S0, S0, S1, HI                                         ; +0x44, 0x1004df628\nRET                                                                    ; +0x48, 0x1004df62c\nB               SetupTriggerPopup__getValue                            ; +0x4c, 0x1004df630\nFMOV            S0, WZR                                                ; +0x50, 0x1004df634\nRET                                                                    ; +0x54, 0x1004df638\nFMOV            S0, #30.0                                              ; +0x58, 0x1004df63c\nRET                                                                    ; +0x5c, 0x1004df640", "xrefs": ["<???> @ 0x100992318"], "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"}