{"type": "func", "start": 4299271764, "end": 4299271812, "name": "-[EAGLView convertPixelFormat:]", "pseudocode": "// \n// -[EAGLView convertPixelFormat:] from 0x10041ae54 to 0x10041ae84 (48 bytes)\n// \n// 2 xrefs:\n// > -[EAGLView setupSurfaceWithSharegroup:] @ 0x10041ab4c\n// > <???> @ 0x100849e88\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\nunsigned int __cdecl -[EAGLView convertPixelFormat:](EAGLView *self, SEL a2, id a3)\n{\n  if ( (unsigned int)objc_msgSend(a3, \"isEqualToString:\", CFSTR(\"EAGLColorFormat565\")) )\n    return 36194;\n  else\n    return 32856;\n}", "assembly": "; \n; -[EAGLView convertPixelFormat:] from 0x10041ae54 to 0x10041ae84 (48 bytes)\n; \n; 2 xrefs:\n; > -[EAGLView setupSurfaceWithSharegroup:] @ 0x10041ab4c\n; > <???> @ 0x100849e88\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             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x10041ae54\nMOV             X29, SP                                                ; +0x4, 0x10041ae58\nMOV             X0, X2                                                 ; +0x8, 0x10041ae5c\nADRL            X2, cfstr_Eaglcolorforma; \"EAGLColorFormat565\"         ; +0xc, 0x10041ae60\nBL              _objc_msgSend$isEqualToString_                         ; +0x14, 0x10041ae68\nCMP             W0, #0                                                 ; +0x18, 0x10041ae6c\nMOV             W8, #0x8058                                            ; +0x1c, 0x10041ae70\nMOV             W9, #0x8D62                                            ; +0x20, 0x10041ae74\nCSEL            W0, W9, W8, NE                                         ; +0x24, 0x10041ae78\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x10041ae7c\nRET                                                                    ; +0x2c, 0x10041ae80", "xrefs": ["-[EAGLView setupSurfaceWithSharegroup:] @ 0x10041ab4c", "<???> @ 0x100849e88"], "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"}