// // sub_100745040 from 0x100745040 to 0x1007450ca (138 bytes) // // 1 xrefs: // > -[EAGLView prepareOpenGL] @ 0x10074500c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:36:30 +0000 // id __fastcall sub_100745040(__int64 a1) { id v1; // rax id v2; // rax objc_super v4; // [rsp+0h] [rbp-30h] BYREF int v5[7]; // [rsp+14h] [rbp-1Ch] BYREF v4.receiver = *(id *)(a1 + 32); v4.super_class = (Class)&OBJC_CLASS___EAGLView; objc_msgSendSuper2(&v4, "prepareOpenGL"); v1 = objc_msgSend(*(id *)(a1 + 32), "openGLContext"); objc_msgSend(v1, "makeCurrentContext"); v5[0] = 1; v2 = objc_msgSend(*(id *)(a1 + 32), "openGLContext"); return objc_msgSend(v2, "setValues:forParameter:", v5, 222); }
GD Web Decomp Icon

GD Web Decomp

Raw Source