{"type": "func", "start": 5372002304, "end": 5372002406, "name": "LevelOptionsLayer::init", "pseudocode": "// \n// LevelOptionsLayer::init from 0x140324000 to 0x140324066 (102 bytes)\n// \n// 3 xrefs:\n// > LevelSettingsLayer::onSettings @ 0x140321076\n// > LevelOptionsLayer::onSettings @ 0x1403245fd\n// > <???> @ 0x1406d4d78\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 LevelOptionsLayer::init(LevelOptionsLayer *a1, LevelSettingsObject *a2)\n{\n  bool result; // al\n  LevelOptionsLayer_vtbl *v4; // rax\n\n  a1->m_settingsObject = a2;\n  a1->m_gap = 40.0;\n  a1->m_maxLabelScale = 0.40000001;\n  result = GJOptionsLayer::init(a1, 1);\n  if ( result )\n  {\n    v4 = a1->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_disableTextDelegate = 1;\n    v4->determineStartValues(a1);\n    a1->updateDefaultTriggerValues(a1);\n    a1->m_disableTextDelegate = 0;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; LevelOptionsLayer::init from 0x140324000 to 0x140324066 (102 bytes)\n; \n; 3 xrefs:\n; > LevelSettingsLayer::onSettings @ 0x140321076\n; > LevelOptionsLayer::onSettings @ 0x1403245fd\n; > <???> @ 0x1406d4d78\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\npush    rbx                                                            ; +0x0, 0x140324000\nsub     rsp, 20h                                                       ; +0x2, 0x140324002\nmov     [rcx+3F0h], rdx                                                ; +0x6, 0x140324006\nmov     rbx, rcx                                                       ; +0xd, 0x14032400d\nmov     edx, 1                                                         ; +0x10, 0x140324010\nmov     dword ptr [rcx+3A8h], 42200000h                                ; +0x15, 0x140324015\nmov     dword ptr [rcx+3BCh], 3ECCCCCDh                                ; +0x1f, 0x14032401f\ncall    GJOptionsLayer__init                                           ; +0x29, 0x140324029\ntest    al, al                                                         ; +0x2e, 0x14032402e\njnz     short loc_140324038                                            ; +0x30, 0x140324030\nadd     rsp, 20h                                                       ; +0x32, 0x140324032\npop     rbx                                                            ; +0x36, 0x140324036\nretn                                                                   ; +0x37, 0x140324037\nmov     rax, [rbx]                                                     ; +0x38, 0x140324038\nmov     rcx, rbx                                                       ; +0x3b, 0x14032403b\nmov     byte ptr [rbx+2CCh], 1                                         ; +0x3e, 0x14032403e\ncall    qword ptr [rax+428h]                                           ; +0x45, 0x140324045\nmov     rax, [rbx]                                                     ; +0x4b, 0x14032404b\nmov     rcx, rbx                                                       ; +0x4e, 0x14032404e\ncall    qword ptr [rax+450h]                                           ; +0x51, 0x140324051\nmov     al, 1                                                          ; +0x57, 0x140324057\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x59, 0x140324059\nadd     rsp, 20h                                                       ; +0x60, 0x140324060\npop     rbx                                                            ; +0x64, 0x140324064\nretn                                                                   ; +0x65, 0x140324065", "xrefs": ["LevelSettingsLayer::onSettings @ 0x140321076", "LevelOptionsLayer::onSettings @ 0x1403245fd", "<???> @ 0x1406d4d78"], "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"}