{"type": "func", "start": 4297987564, "end": 4297987652, "name": "GameOptionsLayer::init", "pseudocode": "// \n// GameOptionsLayer::init from 0x1002e15ec to 0x1002e1644 (88 bytes)\n// \n// 1 xrefs:\n// > GameOptionsLayer::create @ 0x1002e15a0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GameOptionsLayer::init(GameOptionsLayer *a1, GJBaseGameLayer *a2)\n{\n  _BOOL4 v3; // w20\n\n  a1->m_gap = 40.0;\n  a1->m_maxLabelScale = 0.4;\n  a1->m_baseGameLayer = a2;\n  v3 = GJOptionsLayer::init(a1, 2);\n  if ( v3 )\n  {\n    SetupTriggerPopup::preSetup(a1);\n    SetupTriggerPopup::postSetup(a1);\n  }\n  return v3;\n}", "assembly": "; \n; GameOptionsLayer::init from 0x1002e15ec to 0x1002e1644 (88 bytes)\n; \n; 1 xrefs:\n; > GameOptionsLayer::create @ 0x1002e15a0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002e15ec\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002e15f0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002e15f4\nMOV             X19, X0                                                ; +0xc, 0x1002e15f8\nMOV             W8, #0x42200000                                        ; +0x10, 0x1002e15fc\nSTR             W8, [X0,#0x3AC]                                        ; +0x14, 0x1002e1600\nMOV             W8, #0x3ECCCCCD                                        ; +0x18, 0x1002e1604\nSTR             W8, [X0,#0x3C0]                                        ; +0x20, 0x1002e160c\nSTR             X1, [X0,#0x418]                                        ; +0x24, 0x1002e1610\nMOV             W1, #2                                                 ; +0x28, 0x1002e1614\nBL              GJOptionsLayer__init                                   ; +0x2c, 0x1002e1618\nMOV             X20, X0                                                ; +0x30, 0x1002e161c\nCBZ             W0, loc_1002E1634                                      ; +0x34, 0x1002e1620\nMOV             X0, X19                                                ; +0x38, 0x1002e1624\nBL              SetupTriggerPopup__preSetup                            ; +0x3c, 0x1002e1628\nMOV             X0, X19                                                ; +0x40, 0x1002e162c\nBL              SetupTriggerPopup__postSetup                           ; +0x44, 0x1002e1630\nMOV             X0, X20                                                ; +0x48, 0x1002e1634\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1002e1638\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1002e163c\nRET                                                                    ; +0x54, 0x1002e1640", "xrefs": ["GameOptionsLayer::create @ 0x1002e15a0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}