{"type": "func", "start": 4302589696, "end": 4302589874, "name": "-[EAGLView initWithFrame:pixelFormat:]", "pseudocode": "// \n// -[EAGLView initWithFrame:pixelFormat:] from 0x100744f00 to 0x100744fb2 (178 bytes)\n// \n// 4 xrefs:\n// > -[AppController applicationDidFinishLaunching:] @ 0x100003916\n// > -[EAGLView initWithFrame:shareContext:] @ 0x100744e41\n// > -[EAGLView initWithFrame:pixelFormat:] @ 0x100744fa1\n// > <???> @ 0x100bdcf98\n// \n// This function is hookable on this platform (idp: pc, 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 12:36:30 +0000\n// \n\nEAGLView *__cdecl -[EAGLView initWithFrame:pixelFormat:](EAGLView *self, SEL a2, CGRect a3, id a4)\n{\n  __int64 v5; // rax\n  float width; // xmm0_4\n  float height; // xmm1_4\n  __int64 v8; // rcx\n  __int64 v9; // r8\n  __int64 v10; // r9\n  objc_super v12; // [rsp+20h] [rbp-20h] BYREF\n\n  self->eventDelegate_ = (MacEventDelegate *)+[CCEventDispatcher sharedDispatcher](\n                                               &OBJC_CLASS___CCEventDispatcher,\n                                               \"sharedDispatcher\");\n  v5 = cocos2d::CCEGLView::sharedOpenGLView();\n  width = a3.size.width;\n  height = a3.size.height;\n  (*(void (__fastcall **)(__int64, float, float))(*(_QWORD *)v5 + 56LL))(v5, width, height);\n  self->frameZoomFactor_ = 1.0;\n  self->_backingScaleFactor = 1.0;\n  qword_100BE6868 = (__int64)self;\n  v12.receiver = self;\n  v12.super_class = (Class)&OBJC_CLASS___EAGLView;\n  -[EAGLView initWithFrame:pixelFormat:](\n    &v12,\n    \"initWithFrame:pixelFormat:\",\n    a4,\n    v8,\n    v9,\n    v10,\n    *(_QWORD *)&a3.origin.x,\n    *(_QWORD *)&a3.origin.y,\n    *(_QWORD *)&a3.size.width,\n    *(_QWORD *)&a3.size.height);\n  return self;\n}", "assembly": "; \n; -[EAGLView initWithFrame:pixelFormat:] from 0x100744f00 to 0x100744fb2 (178 bytes)\n; \n; 4 xrefs:\n; > -[AppController applicationDidFinishLaunching:] @ 0x100003916\n; > -[EAGLView initWithFrame:shareContext:] @ 0x100744e41\n; > -[EAGLView initWithFrame:pixelFormat:] @ 0x100744fa1\n; > <???> @ 0x100bdcf98\n; \n; This function is hookable on this platform (idp: pc, 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 12:36:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x100744f00\nmov     rbp, rsp                                                       ; +0x1, 0x100744f01\npush    r14                                                            ; +0x4, 0x100744f04\npush    rbx                                                            ; +0x6, 0x100744f06\nsub     rsp, 30h                                                       ; +0x7, 0x100744f07\nmov     r14, rdx                                                       ; +0xb, 0x100744f0b\nmov     rbx, rdi                                                       ; +0xe, 0x100744f0e\nmov     rdi, cs:classRef_CCEventDispatcher; id                         ; +0x11, 0x100744f11\nmov     rsi, cs:selRef_sharedDispatcher; SEL                           ; +0x18, 0x100744f18\ncall    cs:_objc_msgSend_ptr; +[CCEventDispatcher sharedDispatcher] ... ; +0x1f, 0x100744f1f\nmov     rcx, cs:_OBJC_IVAR_$_EAGLView_eventDelegate_; MacEventDelegate *eventDelegate_; ; +0x25, 0x100744f25\nmov     [rbx+rcx], rax                                                 ; +0x2c, 0x100744f2c\ncall    cocos2d__CCEGLView__sharedOpenGLView                           ; +0x30, 0x100744f30\nmovsd   xmm0, [rbp+arg_0.size.width]                                   ; +0x35, 0x100744f35\ncvtsd2ss xmm0, xmm0                                                    ; +0x3a, 0x100744f3a\nmovsd   xmm1, [rbp+arg_0.size.height]                                  ; +0x3e, 0x100744f3e\ncvtsd2ss xmm1, xmm1                                                    ; +0x43, 0x100744f43\nmov     rcx, [rax]                                                     ; +0x47, 0x100744f47\nmov     rdi, rax                                                       ; +0x4a, 0x100744f4a\ncall    qword ptr [rcx+38h]                                            ; +0x4d, 0x100744f4d\nmov     rax, cs:_OBJC_IVAR_$_EAGLView_frameZoomFactor_; float frameZoomFactor_; ; +0x50, 0x100744f50\nmov     dword ptr [rbx+rax], 3F800000h                                 ; +0x57, 0x100744f57\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__backingScaleFactor; float _backingScaleFactor; ; +0x5e, 0x100744f5e\nmov     dword ptr [rbx+rax], 3F800000h                                 ; +0x65, 0x100744f65\nmov     cs:qword_100BE6868, rbx                                        ; +0x6c, 0x100744f6c\nmov     [rbp+var_20.receiver], rbx                                     ; +0x73, 0x100744f73\nmov     rax, cs:classRef_EAGLView_0                                    ; +0x77, 0x100744f77\nmov     [rbp+var_20.super_class], rax                                  ; +0x7e, 0x100744f7e\nmov     rsi, cs:selRef_initWithFrame_pixelFormat_; SEL                 ; +0x82, 0x100744f82\nmovaps  xmm0, xmmword ptr [rbp+arg_0.origin.x]                         ; +0x89, 0x100744f89\nmovaps  xmm1, xmmword ptr [rbp+arg_0.size.width]                       ; +0x8d, 0x100744f8d\nmovups  [rsp+40h+var_30], xmm1                                         ; +0x91, 0x100744f91\nmovups  [rsp+40h+var_40], xmm0                                         ; +0x96, 0x100744f96\nlea     rdi, [rbp+var_20]; objc_super *                                ; +0x9a, 0x100744f9a\nmov     rdx, r14                                                       ; +0x9e, 0x100744f9e\ncall    _objc_msgSendSuper2; -[EAGLView initWithFrame:pixelFormat:] ... ; +0xa1, 0x100744fa1\nmov     rax, rbx                                                       ; +0xa6, 0x100744fa6\nadd     rsp, 30h                                                       ; +0xa9, 0x100744fa9\npop     rbx                                                            ; +0xad, 0x100744fad\npop     r14                                                            ; +0xae, 0x100744fae\npop     rbp                                                            ; +0xb0, 0x100744fb0\nretn                                                                   ; +0xb1, 0x100744fb1", "xrefs": ["-[AppController applicationDidFinishLaunching:] @ 0x100003916", "-[EAGLView initWithFrame:shareContext:] @ 0x100744e41", "-[EAGLView initWithFrame:pixelFormat:] @ 0x100744fa1", "<???> @ 0x100bdcf98"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}