{"type": "func", "start": 4299271900, "end": 4299272020, "name": "-[EAGLView convertRectFromViewToSurface:]", "pseudocode": "// \n// -[EAGLView convertRectFromViewToSurface:] from 0x10041aedc to 0x10041af54 (120 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100849eb8\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\nCGRect __cdecl -[EAGLView convertRectFromViewToSurface:](EAGLView *self, SEL a2, CGRect a3)\n{\n  double height; // d8\n  double width; // d9\n  double y; // d10\n  double x; // d11\n  double v8; // d0\n  double v9; // d2\n  double v10; // d1\n  double v11; // d4\n  double v12; // d5\n  double v14; // d3\n  CGRect result; // 0:d0.8,8:d1.8,16:d2.8,24:d3.8\n\n  height = a3.size.height;\n  width = a3.size.width;\n  y = a3.origin.y;\n  x = a3.origin.x;\n  -[EAGLView bounds](self, \"bounds\");\n  v11 = self->size_.width;\n  v12 = self->size_.height;\n  result.origin.x = v11 * ((x - v8) / v9);\n  result.origin.y = v12 * ((y - v10) / v14);\n  result.size.width = v11 * (width / v9);\n  result.size.height = height / v14 * v12;\n  return result;\n}", "assembly": "; \n; -[EAGLView convertRectFromViewToSurface:] from 0x10041aedc to 0x10041af54 (120 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100849eb8\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             D11, D10, [SP,#-0x10+var_30]!                          ; +0x0, 0x10041aedc\nSTP             D9, D8, [SP,#0x30+var_20]                              ; +0x4, 0x10041aee0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10041aee4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10041aee8\nADD             X29, SP, #0x30                                         ; +0x10, 0x10041aeec\nFMOV            D8, D3                                                 ; +0x14, 0x10041aef0\nFMOV            D9, D2                                                 ; +0x18, 0x10041aef4\nFMOV            D10, D1                                                ; +0x1c, 0x10041aef8\nFMOV            D11, D0                                                ; +0x20, 0x10041aefc\nMOV             X19, X0                                                ; +0x24, 0x10041af00\nBL              _objc_msgSend$bounds; -[EAGLView bounds] ...           ; +0x28, 0x10041af04\nFSUB            D0, D11, D0                                            ; +0x2c, 0x10041af08\nFDIV            D0, D0, D2                                             ; +0x30, 0x10041af0c\nADRP            X8, #_OBJC_IVAR_$_EAGLView.size_@PAGE; CGSize size_;   ; +0x34, 0x10041af10\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.size_@PAGEOFF]; CGSize size_; ; +0x38, 0x10041af14\nADD             X8, X19, X8                                            ; +0x3c, 0x10041af18\nFSUB            D1, D10, D1                                            ; +0x40, 0x10041af1c\nLDP             D4, D5, [X8]                                           ; +0x44, 0x10041af20\nFMUL            D0, D4, D0                                             ; +0x48, 0x10041af24\nFDIV            D1, D1, D3                                             ; +0x4c, 0x10041af28\nFMUL            D1, D5, D1                                             ; +0x50, 0x10041af2c\nFDIV            D2, D9, D2                                             ; +0x54, 0x10041af30\nFMUL            D2, D4, D2                                             ; +0x58, 0x10041af34\nFDIV            D3, D8, D3                                             ; +0x5c, 0x10041af38\nFMUL            D3, D3, D5                                             ; +0x60, 0x10041af3c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x64, 0x10041af40\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x68, 0x10041af44\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0x6c, 0x10041af48\nLDP             D11, D10, [SP+0x30+var_30],#0x40                       ; +0x70, 0x10041af4c\nRET                                                                    ; +0x74, 0x10041af50", "xrefs": ["<???> @ 0x100849eb8"], "is_objc": true, "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"}