{"type": "func", "start": 4298132992, "end": 4298133068, "name": "MenuLayer::onOptions", "pseudocode": "// \n// MenuLayer::onOptions from 0x100304e00 to 0x100304e4c (76 bytes)\n// \n// 1 xrefs:\n// > MenuLayer::init @ 0x100303d18\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:03:07 +0000\n// \n\n__int64 __fastcall MenuLayer::onOptions(__int64 a1)\n{\n  char *v2; // x20\n\n  v2 = OptionsLayer::create();\n  (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v2, 100);\n  return (*(__int64 (__fastcall **)(char *, _QWORD))(*(_QWORD *)v2 + 1328LL))(v2, 0);\n}", "assembly": "; \n; MenuLayer::onOptions from 0x100304e00 to 0x100304e4c (76 bytes)\n; \n; 1 xrefs:\n; > MenuLayer::init @ 0x100303d18\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:03:07 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100304e00\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100304e04\nADD             X29, SP, #0x10                                         ; +0x8, 0x100304e08\nMOV             X19, X0                                                ; +0xc, 0x100304e0c\nBL              OptionsLayer__create                                   ; +0x10, 0x100304e10\nMOV             X20, X0                                                ; +0x14, 0x100304e14\nLDR             X8, [X19]                                              ; +0x18, 0x100304e18\nLDR             X8, [X8,#0x1D0]                                        ; +0x1c, 0x100304e1c\nMOV             X0, X19                                                ; +0x20, 0x100304e20\nMOV             X1, X20                                                ; +0x24, 0x100304e24\nMOV             W2, #0x64 ; 'd'                                        ; +0x28, 0x100304e28\nBLR             X8                                                     ; +0x2c, 0x100304e2c\nLDR             X8, [X20]                                              ; +0x30, 0x100304e30\nLDR             X2, [X8,#0x530]                                        ; +0x34, 0x100304e34\nMOV             X0, X20                                                ; +0x38, 0x100304e38\nMOV             W1, #0                                                 ; +0x3c, 0x100304e3c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x100304e40\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x100304e44\nBR              X2                                                     ; +0x48, 0x100304e48", "xrefs": ["MenuLayer::init @ 0x100303d18"], "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"}