{"type": "func", "start": 4297991440, "end": 4297991544, "name": "GameLevelOptionsLayer::init", "pseudocode": "// \n// GameLevelOptionsLayer::init from 0x1002e2510 to 0x1002e2578 (104 bytes)\n// \n// 1 xrefs:\n// > GameLevelOptionsLayer::create @ 0x1002e24c4\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 GameLevelOptionsLayer::init(GameLevelOptionsLayer *a1, GJGameLevel *a2)\n{\n  _BOOL4 v3; // w20\n\n  a1->m_gap = 40.0;\n  a1->m_maxLabelScale = 0.4;\n  if ( a2 )\n  {\n    a1->m_level = a2;\n    cocos2d::CCObject::retain(a2);\n  }\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; GameLevelOptionsLayer::init from 0x1002e2510 to 0x1002e2578 (104 bytes)\n; \n; 1 xrefs:\n; > GameLevelOptionsLayer::create @ 0x1002e24c4\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, 0x1002e2510\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002e2514\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002e2518\nMOV             X19, X0                                                ; +0xc, 0x1002e251c\nMOV             W8, #0x42200000                                        ; +0x10, 0x1002e2520\nSTR             W8, [X0,#0x3AC]                                        ; +0x14, 0x1002e2524\nMOV             W8, #0x3ECCCCCD                                        ; +0x18, 0x1002e2528\nSTR             W8, [X0,#0x3C0]                                        ; +0x20, 0x1002e2530\nCBZ             X1, loc_1002E2544                                      ; +0x24, 0x1002e2534\nSTR             X1, [X19,#0x418]                                       ; +0x28, 0x1002e2538\nMOV             X0, X1                                                 ; +0x2c, 0x1002e253c\nBL              cocos2d__CCObject__retain                              ; +0x30, 0x1002e2540\nMOV             X0, X19                                                ; +0x34, 0x1002e2544\nMOV             W1, #2                                                 ; +0x38, 0x1002e2548\nBL              GJOptionsLayer__init                                   ; +0x3c, 0x1002e254c\nMOV             X20, X0                                                ; +0x40, 0x1002e2550\nCBZ             W0, loc_1002E2568                                      ; +0x44, 0x1002e2554\nMOV             X0, X19                                                ; +0x48, 0x1002e2558\nBL              SetupTriggerPopup__preSetup                            ; +0x4c, 0x1002e255c\nMOV             X0, X19                                                ; +0x50, 0x1002e2560\nBL              SetupTriggerPopup__postSetup                           ; +0x54, 0x1002e2564\nMOV             X0, X20                                                ; +0x58, 0x1002e2568\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1002e256c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1002e2570\nRET                                                                    ; +0x64, 0x1002e2574", "xrefs": ["GameLevelOptionsLayer::create @ 0x1002e24c4"], "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"}