{"type": "func", "start": 4297125152, "end": 4297125248, "name": "LevelOptionsLayer::init", "pseudocode": "// \n// LevelOptionsLayer::init from 0x10020ed20 to 0x10020ed80 (96 bytes)\n// \n// 2 xrefs:\n// > LevelOptionsLayer::create @ 0x10020d204\n// > LevelOptionsLayer2::init @ 0x10020f46c\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:01:01 +0000\n// \n\n__int64 __fastcall LevelOptionsLayer::init(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x20\n\n  *(_DWORD *)(a1 + 1012) = 1109393408;\n  *(_DWORD *)(a1 + 1032) = 1053609165;\n  *(_QWORD *)(a1 + 1120) = a2;\n  v3 = GJOptionsLayer::init(a1, 1, 280.0);\n  if ( (_DWORD)v3 )\n  {\n    SetupTriggerPopup::preSetup((_BYTE *)a1);\n    SetupTriggerPopup::postSetup((_BYTE *)a1);\n  }\n  return v3;\n}", "assembly": "; \n; LevelOptionsLayer::init from 0x10020ed20 to 0x10020ed80 (96 bytes)\n; \n; 2 xrefs:\n; > LevelOptionsLayer::create @ 0x10020d204\n; > LevelOptionsLayer2::init @ 0x10020f46c\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:01:01 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10020ed20\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10020ed24\nADD             X29, SP, #0x10                                         ; +0x8, 0x10020ed28\nMOV             X19, X0                                                ; +0xc, 0x10020ed2c\nMOV             W8, #0x42200000                                        ; +0x10, 0x10020ed30\nSTR             W8, [X0,#0x3F4]                                        ; +0x14, 0x10020ed34\nMOV             W8, #0x3ECCCCCD                                        ; +0x18, 0x10020ed38\nSTR             W8, [X0,#0x408]                                        ; +0x20, 0x10020ed40\nSTR             X1, [X0,#0x460]                                        ; +0x24, 0x10020ed44\nMOV             W8, #0x438C0000                                        ; +0x28, 0x10020ed48\nFMOV            S0, W8                                                 ; +0x2c, 0x10020ed4c\nMOV             W1, #1                                                 ; +0x30, 0x10020ed50\nBL              GJOptionsLayer__init                                   ; +0x34, 0x10020ed54\nMOV             X20, X0                                                ; +0x38, 0x10020ed58\nCBZ             W0, loc_10020ED70                                      ; +0x3c, 0x10020ed5c\nMOV             X0, X19                                                ; +0x40, 0x10020ed60\nBL              SetupTriggerPopup__preSetup                            ; +0x44, 0x10020ed64\nMOV             X0, X19                                                ; +0x48, 0x10020ed68\nBL              SetupTriggerPopup__postSetup                           ; +0x4c, 0x10020ed6c\nMOV             X0, X20                                                ; +0x50, 0x10020ed70\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x10020ed74\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x10020ed78\nRET                                                                    ; +0x5c, 0x10020ed7c", "xrefs": ["LevelOptionsLayer::create @ 0x10020d204", "LevelOptionsLayer2::init @ 0x10020f46c"], "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"}