{"type": "func", "start": 4299802432, "end": 4299802644, "name": "-[EAGLView initWithCoder:]", "pseudocode": "// \n// -[EAGLView initWithCoder:] from 0x10049c740 to 0x10049c814 (212 bytes)\n// \n// 2 xrefs:\n// > -[EAGLView initWithCoder:] @ 0x10049c768\n// > <???> @ 0x1009d3800\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:05:59 +0000\n// \n\nEAGLView *__cdecl -[EAGLView initWithCoder:](EAGLView *self, SEL a2, id a3)\n{\n  EAGLView *v3; // x0\n  __int64 v4; // x19\n  void *v5; // x0\n  __int64 v6; // d2\n  __int64 v7; // d3\n  objc_super v9; // [xsp+0h] [xbp-20h] BYREF\n\n  v9.receiver = self;\n  v9.super_class = (Class)&OBJC_CLASS___EAGLView;\n  v3 = -[EAGLView initWithCoder:](&v9, \"initWithCoder:\", a3);\n  v4 = (__int64)v3;\n  if ( !v3 )\n    goto LABEL_3;\n  v5 = -[EAGLView layer](v3, \"layer\");\n  *(_QWORD *)(v4 + 24) = kEAGLColorFormatRGB565;\n  *(_DWORD *)(v4 + 32) = 0;\n  *(_BYTE *)(v4 + 154) = 0;\n  *(_DWORD *)(v4 + 60) = 0;\n  objc_msgSend(v5, \"bounds\");\n  *(_QWORD *)(v4 + 40) = v6;\n  *(_QWORD *)(v4 + 48) = v7;\n  *(_QWORD *)(v4 + 72) = 0;\n  if ( ((unsigned int)objc_msgSend((id)v4, \"setupSurfaceWithSharegroup:\", 0) & 1) == 0 )\n  {\n    objc_release((id)v4);\n    return nullptr;\n  }\n  else\n  {\nLABEL_3:\n    qword_1009F7B40 = v4;\n  }\n  return (EAGLView *)v4;\n}", "assembly": "; \n; -[EAGLView initWithCoder:] from 0x10049c740 to 0x10049c814 (212 bytes)\n; \n; 2 xrefs:\n; > -[EAGLView initWithCoder:] @ 0x10049c768\n; > <???> @ 0x1009d3800\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:05:59 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x10049c740\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10049c744\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10049c748\nADD             X29, SP, #0x20                                         ; +0xc, 0x10049c74c\nADRP            X8, #classRef_EAGLView_0@PAGE                          ; +0x10, 0x10049c750\nLDR             X8, [X8,#classRef_EAGLView_0@PAGEOFF]; _OBJC_CLASS_$_EAGLView ; +0x14, 0x10049c754\nSTP             X0, X8, [SP,#0x20+var_20]                              ; +0x18, 0x10049c758\nADRP            X8, #selRef_initWithCoder_@PAGE                        ; +0x1c, 0x10049c75c\nLDR             X1, [X8,#selRef_initWithCoder_@PAGEOFF]; \"initWithCoder:\" ... ; +0x20, 0x10049c760\nMOV             X0, SP; objc_super *                                   ; +0x24, 0x10049c764\nBL              _objc_msgSendSuper2; -[EAGLView initWithCoder:] ...    ; +0x28, 0x10049c768\nMOV             X19, X0                                                ; +0x2c, 0x10049c76c\nCBZ             X0, loc_10049C7E8                                      ; +0x30, 0x10049c770\nMOV             X0, X19                                                ; +0x34, 0x10049c774\nBL              _objc_msgSend$layer; -[EAGLView layer] ...             ; +0x38, 0x10049c778\nADRP            X8, #_kEAGLColorFormatRGB565_ptr@PAGE                  ; +0x3c, 0x10049c77c\nLDR             X8, [X8,#_kEAGLColorFormatRGB565_ptr@PAGEOFF]; _kEAGLColorFormatRGB565 ; +0x40, 0x10049c780\nLDR             X8, [X8]                                               ; +0x44, 0x10049c784\nADRP            X9, #_OBJC_IVAR_$_EAGLView.pixelformat_@PAGE; NSString *pixelformat_; ; +0x48, 0x10049c788\nLDRSW           X9, [X9,#_OBJC_IVAR_$_EAGLView.pixelformat_@PAGEOFF]; NSString *pixelformat_; ; +0x4c, 0x10049c78c\nSTR             X8, [X19,X9]                                           ; +0x50, 0x10049c790\nADRP            X8, #_OBJC_IVAR_$_EAGLView.depthFormat_@PAGE; unsigned int depthFormat_; ; +0x54, 0x10049c794\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.depthFormat_@PAGEOFF]; unsigned int depthFormat_; ; +0x58, 0x10049c798\nSTR             WZR, [X19,X8]                                          ; +0x5c, 0x10049c79c\nADRP            X8, #_OBJC_IVAR_$_EAGLView.multiSampling_@PAGE; bool multiSampling_; ; +0x60, 0x10049c7a0\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.multiSampling_@PAGEOFF]; bool multiSampling_; ; +0x64, 0x10049c7a4\nSTRB            WZR, [X19,X8]                                          ; +0x68, 0x10049c7a8\nADRP            X8, #_OBJC_IVAR_$_EAGLView.requestedSamples_@PAGE; unsigned int requestedSamples_; ; +0x6c, 0x10049c7ac\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.requestedSamples_@PAGEOFF]; unsigned int requestedSamples_; ; +0x70, 0x10049c7b0\nSTR             WZR, [X19,X8]                                          ; +0x74, 0x10049c7b4\nBL              _objc_msgSend$bounds                                   ; +0x78, 0x10049c7b8\nADRP            X8, #_OBJC_IVAR_$_EAGLView.size_@PAGE; CGSize size_;   ; +0x7c, 0x10049c7bc\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.size_@PAGEOFF]; CGSize size_; ; +0x80, 0x10049c7c0\nADD             X8, X19, X8                                            ; +0x84, 0x10049c7c4\nSTP             D2, D3, [X8]                                           ; +0x88, 0x10049c7c8\nADRP            X8, #_OBJC_IVAR_$_EAGLView.markedText_@PAGE; NSString *markedText_; ; +0x8c, 0x10049c7cc\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.markedText_@PAGEOFF]; NSString *markedText_; ; +0x90, 0x10049c7d0\nSTR             XZR, [X19,X8]                                          ; +0x94, 0x10049c7d4\nMOV             X0, X19                                                ; +0x98, 0x10049c7d8\nMOV             X2, #0                                                 ; +0x9c, 0x10049c7dc\nBL              _objc_msgSend$setupSurfaceWithSharegroup_              ; +0xa0, 0x10049c7e0\nTBZ             W0, #0, loc_10049C7F4                                  ; +0xa4, 0x10049c7e4\nADRP            X8, #qword_1009F7B40@PAGE                              ; +0xa8, 0x10049c7e8\nSTR             X19, [X8,#qword_1009F7B40@PAGEOFF]                     ; +0xac, 0x10049c7ec\nB               loc_10049C800                                          ; +0xb0, 0x10049c7f0\nMOV             X0, X19; id                                            ; +0xb4, 0x10049c7f4\nBL              _objc_release                                          ; +0xb8, 0x10049c7f8\nMOV             X19, #0                                                ; +0xbc, 0x10049c7fc\nMOV             X0, X19                                                ; +0xc0, 0x10049c800\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xc4, 0x10049c804\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xc8, 0x10049c808\nADD             SP, SP, #0x30 ; '0'                                    ; +0xcc, 0x10049c80c\nRET                                                                    ; +0xd0, 0x10049c810", "xrefs": ["-[EAGLView initWithCoder:] @ 0x10049c768", "<???> @ 0x1009d3800"], "is_objc": true, "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"}