{"type": "func", "start": 4296101808, "end": 4296101984, "name": "MoreVideoOptionsLayer::create", "pseudocode": "// \n// MoreVideoOptionsLayer::create from 0x100114fb0 to 0x100115060 (176 bytes)\n// \n// 1 xrefs:\n// > VideoOptionsLayer::onAdvanced @ 0x100114f9c\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 10:59:10 +0000\n// \n\n_QWORD *MoreVideoOptionsLayer::create()\n{\n  _QWORD *v0; // x19\n\n  v0 = operator new(0x2D0u);\n  FLAlertLayer::FLAlertLayer((__int64)v0);\n  *v0 = off_1008D12D0;\n  v0[40] = off_1008D1820;\n  v0[41] = &off_1008D1890;\n  v0[42] = off_1008D18A8;\n  v0[43] = off_1008D18C8;\n  v0[44] = off_1008D18F0;\n  v0[51] = off_1008D1920;\n  v0[54] = off_1008D19A0;\n  v0[68] = off_1008D19C0;\n  *((_DWORD *)v0 + 165) = -1;\n  v0[83] = 0;\n  *((_OWORD *)v0 + 44) = 0u;\n  if ( (unsigned int)MoreVideoOptionsLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; MoreVideoOptionsLayer::create from 0x100114fb0 to 0x100115060 (176 bytes)\n; \n; 1 xrefs:\n; > VideoOptionsLayer::onAdvanced @ 0x100114f9c\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 10:59:10 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100114fb0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100114fb4\nADD             X29, SP, #0x10                                         ; +0x8, 0x100114fb8\nMOV             W0, #0x2D0; __sz                                       ; +0xc, 0x100114fbc\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100114fc0\nMOV             X19, X0                                                ; +0x14, 0x100114fc4\nBL              FLAlertLayer__FLAlertLayer                             ; +0x18, 0x100114fc8\nADRL            X8, off_1008D12D0                                      ; +0x1c, 0x100114fcc\nSTR             X8, [X19]                                              ; +0x24, 0x100114fd4\nADD             X9, X8, #(off_1008D1820 - 0x1008D12D0)                 ; +0x28, 0x100114fd8\nADD             X10, X8, #(off_1008D1890 - 0x1008D12D0)                ; +0x2c, 0x100114fdc\nSTP             X9, X10, [X19,#0x140]                                  ; +0x30, 0x100114fe0\nADD             X9, X8, #(off_1008D18A8 - 0x1008D12D0)                 ; +0x34, 0x100114fe4\nADD             X10, X8, #(off_1008D18C8 - 0x1008D12D0)                ; +0x38, 0x100114fe8\nSTP             X9, X10, [X19,#0x150]                                  ; +0x3c, 0x100114fec\nADD             X9, X8, #(off_1008D18F0 - 0x1008D12D0)                 ; +0x40, 0x100114ff0\nSTR             X9, [X19,#0x160]                                       ; +0x44, 0x100114ff4\nADD             X9, X8, #(off_1008D1920 - 0x1008D12D0)                 ; +0x48, 0x100114ff8\nSTR             X9, [X19,#0x198]                                       ; +0x4c, 0x100114ffc\nADD             X9, X8, #(off_1008D19A0 - 0x1008D12D0)                 ; +0x50, 0x100115000\nSTR             X9, [X19,#0x1B0]                                       ; +0x54, 0x100115004\nADD             X8, X8, #(off_1008D19C0 - 0x1008D12D0)                 ; +0x58, 0x100115008\nSTR             X8, [X19,#0x220]                                       ; +0x5c, 0x10011500c\nMOV             W8, #0xFFFFFFFF                                        ; +0x60, 0x100115010\nSTR             W8, [X19,#0x294]                                       ; +0x64, 0x100115014\nMOVI            V0.16B, #0                                             ; +0x68, 0x100115018\nSTR             D0, [X19,#0x298]                                       ; +0x6c, 0x10011501c\nSTR             Q0, [X19,#0x2C0]                                       ; +0x70, 0x100115020\nMOV             X0, X19                                                ; +0x74, 0x100115024\nBL              MoreVideoOptionsLayer__init                            ; +0x78, 0x100115028\nCBZ             W0, loc_10011503C                                      ; +0x7c, 0x10011502c\nMOV             X0, X19                                                ; +0x80, 0x100115030\nBL              cocos2d__CCObject__autorelease                         ; +0x84, 0x100115034\nB               loc_100115050                                          ; +0x88, 0x100115038\nLDR             X8, [X19]                                              ; +0x8c, 0x10011503c\nLDR             X8, [X8,#0x10]                                         ; +0x90, 0x100115040\nMOV             X0, X19                                                ; +0x94, 0x100115044\nBLR             X8                                                     ; +0x98, 0x100115048\nMOV             X19, #0                                                ; +0x9c, 0x10011504c\nMOV             X0, X19                                                ; +0xa0, 0x100115050\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa4, 0x100115054\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa8, 0x100115058\nRET                                                                    ; +0xac, 0x10011505c", "xrefs": ["VideoOptionsLayer::onAdvanced @ 0x100114f9c"], "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"}