; ; cocos2d::CCEGLView::setViewPortInPoints from 0x180078990 to 0x180078a53 (195 bytes) ; ; 3 xrefs: ; > @ 0x180100908 ; > @ 0x1801438a8 ; > @ 0x1801b4ac4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; sub rsp, 58h ; +0x0, 0x180078990 movss xmm5, dword ptr [rcx+68h] ; +0x4, 0x180078994 movaps xmm4, xmm2 ; +0x9, 0x180078999 movaps xmm0, xmm5 ; +0xc, 0x18007899c movaps [rsp+58h+var_18], xmm6 ; +0xf, 0x18007899f movss xmm6, dword ptr [rcx+0C0h] ; +0x14, 0x1800789a4 mulss xmm0, [rsp+58h+arg_20] ; +0x1c, 0x1800789ac movaps [rsp+58h+var_28], xmm7 ; +0x25, 0x1800789b5 movss xmm7, dword ptr [rcx+64h] ; +0x2a, 0x1800789ba movaps xmm2, xmm7 ; +0x2f, 0x1800789bf movaps [rsp+58h+var_38], xmm8 ; +0x32, 0x1800789c2 xorps xmm8, xmm8 ; +0x38, 0x1800789c8 mulss xmm5, xmm4 ; +0x3c, 0x1800789cc cvtsi2ss xmm8, dword ptr [rcx+0B4h] ; +0x40, 0x1800789d0 mulss xmm7, xmm1 ; +0x49, 0x1800789d9 mulss xmm0, xmm8 ; +0x4d, 0x1800789dd mulss xmm5, xmm8 ; +0x52, 0x1800789e2 mulss xmm0, xmm6 ; +0x57, 0x1800789e7 mulss xmm7, xmm8 ; +0x5b, 0x1800789eb cvttss2si r9d, xmm0 ; +0x60, 0x1800789f0 movaps xmm0, xmm8 ; +0x65, 0x1800789f5 mulss xmm2, xmm3 ; +0x69, 0x1800789f9 mulss xmm0, dword ptr [rcx+24h] ; +0x6d, 0x1800789fd mulss xmm2, xmm8 ; +0x72, 0x180078a02 mulss xmm8, dword ptr [rcx+20h] ; +0x77, 0x180078a07 mulss xmm0, xmm6 ; +0x7d, 0x180078a0d mulss xmm5, xmm6 ; +0x81, 0x180078a11 mulss xmm7, xmm6 ; +0x85, 0x180078a15 mulss xmm8, xmm6 ; +0x89, 0x180078a19 addss xmm5, xmm0 ; +0x8e, 0x180078a1e mulss xmm2, xmm6 ; +0x92, 0x180078a22 addss xmm7, xmm8 ; +0x96, 0x180078a26 cvttss2si edx, xmm5 ; +0x9b, 0x180078a2b cvttss2si r8d, xmm2 ; +0x9f, 0x180078a2f cvttss2si ecx, xmm7 ; +0xa4, 0x180078a34 movaps xmm6, [rsp+58h+var_18] ; +0xa8, 0x180078a38 movaps xmm7, [rsp+58h+var_28] ; +0xad, 0x180078a3d movaps xmm8, [rsp+58h+var_38] ; +0xb2, 0x180078a42 add rsp, 58h ; +0xb8, 0x180078a48 jmp cs:glViewport ; +0xbc, 0x180078a4c