; ; cocos2d::CCEGLView::updateFrameSize from 0x18007c0b0 to 0x18007c218 (360 bytes) ; ; 6 xrefs: ; > cocos2d::CCEGLView::setFrameSize @ 0x18007b696 ; > cocos2d::CCEGLView::setFrameZoomFactor @ 0x18007b6c8 ; > @ 0x180144a78 ; > @ 0x180144a88 ; > @ 0x18014cf68 ; > @ 0x1801bee48 ; ; 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 ; push rbx ; +0x0, 0x18007c0b0 push rdi ; +0x2, 0x18007c0b2 sub rsp, 28h ; +0x3, 0x18007c0b3 movss xmm0, dword ptr [rcx+10h] ; +0x7, 0x18007c0b7 xorps xmm1, xmm1 ; +0xc, 0x18007c0bc comiss xmm0, xmm1 ; +0xf, 0x18007c0bf mov rbx, rcx ; +0x12, 0x18007c0c2 jbe loc_18007C211 ; +0x15, 0x18007c0c5 movss xmm0, dword ptr [rcx+14h] ; +0x1b, 0x18007c0cb comiss xmm0, xmm1 ; +0x20, 0x18007c0d0 jbe loc_18007C211 ; +0x23, 0x18007c0d3 mov rcx, [rcx+0C8h] ; +0x29, 0x18007c0d9 lea r8, [rsp+38h+arg_10] ; +0x30, 0x18007c0e0 mov [rsp+38h+var_18], rsi ; +0x35, 0x18007c0e5 lea rdx, [rsp+38h+arg_0] ; +0x3a, 0x18007c0ea xor esi, esi ; +0x3f, 0x18007c0ef mov [rsp+38h+arg_0], esi ; +0x41, 0x18007c0f1 mov [rsp+38h+arg_10], esi ; +0x45, 0x18007c0f5 call sub_1800DC750 ; +0x49, 0x18007c0f9 mov rcx, [rbx+0C8h] ; +0x4e, 0x18007c0fe lea r8, [rsp+38h+arg_18] ; +0x55, 0x18007c105 lea rdx, [rsp+38h+arg_8] ; +0x5a, 0x18007c10a mov [rsp+38h+arg_8], esi ; +0x5f, 0x18007c10f mov [rsp+38h+arg_18], esi ; +0x63, 0x18007c113 call sub_1800DC750 ; +0x67, 0x18007c117 mov eax, [rsp+38h+arg_0] ; +0x6c, 0x18007c11c lea rcx, [rbx+10h] ; +0x70, 0x18007c120 mov rsi, [rsp+38h+var_18] ; +0x74, 0x18007c124 add eax, eax ; +0x79, 0x18007c129 cmp [rsp+38h+arg_8], eax ; +0x7b, 0x18007c12b jnz loc_18007C1B5 ; +0x7f, 0x18007c12f mov eax, [rsp+38h+arg_10] ; +0x85, 0x18007c135 add eax, eax ; +0x89, 0x18007c139 cmp [rsp+38h+arg_18], eax ; +0x8b, 0x18007c13b jnz short loc_18007C1B1 ; +0x8f, 0x18007c13f movzx eax, byte ptr [rbx+0B3h] ; +0x91, 0x18007c141 neg al ; +0x98, 0x18007c148 sbb ecx, ecx ; +0x9a, 0x18007c14a add ecx, 2 ; +0x9c, 0x18007c14c mov [rbx+0B4h], ecx ; +0x9f, 0x18007c14f movss xmm0, dword ptr [rbx+14h] ; +0xa5, 0x18007c155 mulss xmm0, cs:dword_1800EC358 ; +0xaa, 0x18007c15a movss xmm3, dword ptr [rbx+0C0h] ; +0xb2, 0x18007c162 movd xmm2, ecx ; +0xba, 0x18007c16a mov rcx, [rbx+0C8h] ; +0xbe, 0x18007c16e cvtdq2ps xmm2, xmm2 ; +0xc5, 0x18007c175 mulss xmm0, xmm2 ; +0xc8, 0x18007c178 mulss xmm0, xmm3 ; +0xcc, 0x18007c17c cvttss2si r8d, xmm0 ; +0xd0, 0x18007c180 movss xmm0, dword ptr [rbx+10h] ; +0xd5, 0x18007c185 mulss xmm0, cs:dword_1800EC358 ; +0xda, 0x18007c18a mulss xmm0, xmm2 ; +0xe2, 0x18007c192 mulss xmm0, xmm3 ; +0xe6, 0x18007c196 cvttss2si edx, xmm0 ; +0xea, 0x18007c19a call sub_1800DC970 ; +0xee, 0x18007c19e mov byte ptr [rbx+0B2h], 1 ; +0xf3, 0x18007c1a3 add rsp, 28h ; +0xfa, 0x18007c1aa pop rdi ; +0xfe, 0x18007c1ae pop rbx ; +0xff, 0x18007c1af retn ; +0x100, 0x18007c1b0 lea rcx, [rbx+10h] ; +0x101, 0x18007c1b1 cmp byte ptr [rbx+0B2h], 0 ; +0x105, 0x18007c1b5 jz short loc_18007C1CA ; +0x10c, 0x18007c1bc mov dword ptr [rbx+0B4h], 1 ; +0x10e, 0x18007c1be jmp short loc_18007C1CE ; +0x118, 0x18007c1c8 lea rcx, [rbx+10h] ; +0x11a, 0x18007c1ca movss xmm1, dword ptr [rbx+0C0h] ; +0x11e, 0x18007c1ce movd xmm2, dword ptr [rbx+0B4h] ; +0x126, 0x18007c1d6 cvtdq2ps xmm2, xmm2 ; +0x12e, 0x18007c1de movaps xmm0, xmm2 ; +0x131, 0x18007c1e1 mulss xmm2, dword ptr [rcx] ; +0x134, 0x18007c1e4 mov rcx, [rbx+0C8h] ; +0x138, 0x18007c1e8 mulss xmm0, dword ptr [rbx+14h] ; +0x13f, 0x18007c1ef mulss xmm2, xmm1 ; +0x144, 0x18007c1f4 mulss xmm0, xmm1 ; +0x148, 0x18007c1f8 cvttss2si edx, xmm2 ; +0x14c, 0x18007c1fc cvttss2si r8d, xmm0 ; +0x150, 0x18007c200 call sub_1800DC970 ; +0x155, 0x18007c205 mov byte ptr [rbx+0B2h], 0 ; +0x15a, 0x18007c20a add rsp, 28h ; +0x161, 0x18007c211 pop rdi ; +0x165, 0x18007c215 pop rbx ; +0x166, 0x18007c216 retn ; +0x167, 0x18007c217