; ; cocos2d::CCEGLView::onGLFWframebuffersize from 0x18007a8c0 to 0x18007a9f4 (308 bytes) ; ; 3 xrefs: ; > sub_18007AA00 @ 0x18007aa18 ; > @ 0x18014cf68 ; > @ 0x1801bed58 ; ; 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 11:22:00 +0000 ; sub rsp, 58h ; +0x0, 0x18007a8c0 movss xmm3, dword ptr [rcx+10h] ; +0x4, 0x18007a8c4 xorps xmm0, xmm0 ; +0x9, 0x18007a8c9 movss xmm2, dword ptr [rcx+14h] ; +0xc, 0x18007a8cc movaps xmm5, xmm3 ; +0x11, 0x18007a8d1 cvtsi2ss xmm0, r8d ; +0x14, 0x18007a8d4 mov r11, rdx ; +0x19, 0x18007a8d9 mov r10, rcx ; +0x1c, 0x18007a8dc movaps [rsp+58h+var_18], xmm6 ; +0x1f, 0x18007a8df xorps xmm1, xmm1 ; +0x24, 0x18007a8e4 cvtsi2ss xmm1, dword ptr [rcx+0B4h] ; +0x27, 0x18007a8e7 movss xmm6, dword ptr [rcx+0C0h] ; +0x2f, 0x18007a8ef movaps xmm4, xmm2 ; +0x37, 0x18007a8f7 divss xmm5, xmm0 ; +0x3a, 0x18007a8fa xorps xmm0, xmm0 ; +0x3e, 0x18007a8fe movaps [rsp+58h+var_28], xmm7 ; +0x41, 0x18007a901 movss xmm7, cs:dword_1800EC5B4 ; +0x46, 0x18007a906 cvtsi2ss xmm0, r9d ; +0x4e, 0x18007a90e mulss xmm5, xmm1 ; +0x53, 0x18007a913 divss xmm4, xmm0 ; +0x57, 0x18007a917 mulss xmm5, xmm6 ; +0x5b, 0x18007a91b mulss xmm4, xmm1 ; +0x5f, 0x18007a91f movdqa xmm1, cs:xmmword_1800EC5C0 ; +0x63, 0x18007a923 movaps [rsp+58h+var_38], xmm8 ; +0x6b, 0x18007a92b movaps xmm0, xmm5 ; +0x71, 0x18007a931 movss xmm8, cs:dword_1800EC358 ; +0x74, 0x18007a934 subss xmm0, xmm8 ; +0x7d, 0x18007a93d mulss xmm4, xmm6 ; +0x82, 0x18007a942 andps xmm0, xmm1 ; +0x86, 0x18007a946 comiss xmm7, xmm0 ; +0x89, 0x18007a949 jbe short loc_18007A995 ; +0x8c, 0x18007a94c movaps xmm0, xmm4 ; +0x8e, 0x18007a94e subss xmm0, xmm8 ; +0x91, 0x18007a951 andps xmm0, xmm1 ; +0x96, 0x18007a956 comiss xmm7, xmm0 ; +0x99, 0x18007a959 jbe short loc_18007A995 ; +0x9c, 0x18007a95c movzx eax, byte ptr [rcx+0B3h] ; +0x9e, 0x18007a95e neg al ; +0xa5, 0x18007a965 mov byte ptr [rcx+0B2h], 1 ; +0xa7, 0x18007a967 mulss xmm2, xmm8 ; +0xae, 0x18007a96e sbb ecx, ecx ; +0xb3, 0x18007a973 add ecx, 2 ; +0xb5, 0x18007a975 mulss xmm3, xmm8 ; +0xb8, 0x18007a978 mov [r10+0B4h], ecx ; +0xbd, 0x18007a97d movd xmm0, ecx ; +0xc4, 0x18007a984 cvtdq2ps xmm0, xmm0 ; +0xc8, 0x18007a988 mulss xmm2, xmm0 ; +0xcb, 0x18007a98b mulss xmm3, xmm0 ; +0xcf, 0x18007a98f jmp short loc_18007A9C6 ; +0xd3, 0x18007a993 movss xmm0, cs:X ; +0xd5, 0x18007a995 subss xmm5, xmm0 ; +0xdd, 0x18007a99d andps xmm5, xmm1 ; +0xe1, 0x18007a9a1 comiss xmm7, xmm5 ; +0xe4, 0x18007a9a4 jbe short loc_18007A9DF ; +0xe7, 0x18007a9a7 subss xmm4, xmm0 ; +0xe9, 0x18007a9a9 andps xmm4, xmm1 ; +0xed, 0x18007a9ad comiss xmm7, xmm4 ; +0xf0, 0x18007a9b0 jbe short loc_18007A9DF ; +0xf3, 0x18007a9b3 mov byte ptr [rcx+0B2h], 0 ; +0xf5, 0x18007a9b5 mov dword ptr [rcx+0B4h], 1 ; +0xfc, 0x18007a9bc mulss xmm2, xmm6 ; +0x106, 0x18007a9c6 mov rcx, r11 ; +0x10a, 0x18007a9ca mulss xmm3, xmm6 ; +0x10d, 0x18007a9cd cvttss2si r8d, xmm2 ; +0x111, 0x18007a9d1 cvttss2si edx, xmm3 ; +0x116, 0x18007a9d6 call sub_1800DC970 ; +0x11a, 0x18007a9da movaps xmm6, [rsp+58h+var_18] ; +0x11f, 0x18007a9df movaps xmm7, [rsp+58h+var_28] ; +0x124, 0x18007a9e4 movaps xmm8, [rsp+58h+var_38] ; +0x129, 0x18007a9e9 add rsp, 58h ; +0x12f, 0x18007a9ef retn ; +0x133, 0x18007a9f3