{"type": "func", "start": 4299271812, "end": 4299271900, "name": "-[EAGLView convertPointFromViewToSurface:]", "pseudocode": "// \n// -[EAGLView convertPointFromViewToSurface:] from 0x10041ae84 to 0x10041aedc (88 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100849ea0\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\nCGPoint __cdecl -[EAGLView convertPointFromViewToSurface:](EAGLView *self, SEL a2, CGPoint a3)\n{\n  double y; // d8\n  double x; // d9\n  double v6; // d0\n  double v7; // d2\n  double v9; // d1\n  double v10; // d3\n  CGPoint result; // 0:d0.8,8:d1.8\n\n  y = a3.y;\n  x = a3.x;\n  -[EAGLView bounds](self, \"bounds\");\n  result.x = self->size_.width * ((x - v6) / v7);\n  result.y = self->size_.height * ((y - v9) / v10);\n  return result;\n}", "assembly": "; \n; -[EAGLView convertPointFromViewToSurface:] from 0x10041ae84 to 0x10041aedc (88 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100849ea0\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             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10041ae84\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10041ae88\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10041ae8c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10041ae90\nFMOV            D8, D1                                                 ; +0x10, 0x10041ae94\nFMOV            D9, D0                                                 ; +0x14, 0x10041ae98\nMOV             X19, X0                                                ; +0x18, 0x10041ae9c\nBL              _objc_msgSend$bounds; -[EAGLView bounds] ...           ; +0x1c, 0x10041aea0\nFSUB            D0, D9, D0                                             ; +0x20, 0x10041aea4\nFDIV            D0, D0, D2                                             ; +0x24, 0x10041aea8\nADRP            X8, #_OBJC_IVAR_$_EAGLView.size_@PAGE; CGSize size_;   ; +0x28, 0x10041aeac\nLDRSW           X8, [X8,#_OBJC_IVAR_$_EAGLView.size_@PAGEOFF]; CGSize size_; ; +0x2c, 0x10041aeb0\nADD             X8, X19, X8                                            ; +0x30, 0x10041aeb4\nLDP             D2, D4, [X8]                                           ; +0x34, 0x10041aeb8\nFMUL            D0, D2, D0                                             ; +0x38, 0x10041aebc\nFSUB            D1, D8, D1                                             ; +0x3c, 0x10041aec0\nFDIV            D1, D1, D3                                             ; +0x40, 0x10041aec4\nFMUL            D1, D4, D1                                             ; +0x44, 0x10041aec8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x48, 0x10041aecc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x4c, 0x10041aed0\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x50, 0x10041aed4\nRET                                                                    ; +0x54, 0x10041aed8", "xrefs": ["<???> @ 0x100849ea0"], "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"}