{"type": "func", "start": 4295002768, "end": 4295002982, "name": "EditorUI::zoomOut", "pseudocode": "// \n// EditorUI::zoomOut from 0x100008a90 to 0x100008b66 (214 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c5f0\n// > EditorUI::init @ 0x1000063c2\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:18:48 +0000\n// \n\n__int64 __fastcall EditorUI::zoomOut(__int64 a1, __m128 a2)\n{\n  __int64 v3; // rax\n  __int64 v4; // rdi\n  __m128 v5; // xmm1\n  __int64 v6; // rax\n  _BYTE v8[8]; // [rsp+Ch] [rbp-24h] BYREF\n  float v9[2]; // [rsp+14h] [rbp-1Ch] BYREF\n  float v10; // [rsp+1Ch] [rbp-14h]\n\n  v3 = EditorSFXManager::sharedState(a1);\n  EditorSFXManager::playAction_1(v3, 161);\n  v4 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);\n  *(double *)a2.i64 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v4 + 168LL))(v4);\n  a2.f32[0] = (float)((float)(a2.f32[0] + -0.1) / 0.1) + 0.001;\n  v5 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, a2), (__m128)xmmword_100A03600);\n  v5.f32[0] = v5.f32[0] + a2.f32[0];\n  v10 = fmaxf(0.1, fminf(10.0, _mm_round_ss((__m128)0LL, v5, 11).f32[0] * 0.1));\n  v6 = cocos2d::CCDirector::sharedDirector(v4, 161);\n  cocos2d::CCDirector::getWinSize(v9, v6);\n  sub_100278250(v8, v9[0] * 0.5, 0.5 * v9[1]);\n  return EditorUI::updateZoom(a1, v8, v10);\n}", "assembly": "; \n; EditorUI::zoomOut from 0x100008a90 to 0x100008b66 (214 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c5f0\n; > EditorUI::init @ 0x1000063c2\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:18:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x100008a90\nmov     rbp, rsp                                                       ; +0x1, 0x100008a91\npush    r14                                                            ; +0x4, 0x100008a94\npush    rbx                                                            ; +0x6, 0x100008a96\nsub     rsp, 20h                                                       ; +0x7, 0x100008a97\nmov     rbx, rdi                                                       ; +0xb, 0x100008a9b\ncall    EditorSFXManager__sharedState                                  ; +0xe, 0x100008a9e\nmov     rdi, rax                                                       ; +0x13, 0x100008aa3\nmov     esi, 0A1h                                                      ; +0x16, 0x100008aa6\ncall    EditorSFXManager__playAction_1                                 ; +0x1b, 0x100008aab\nmov     rax, [rbx+5A0h]                                                ; +0x20, 0x100008ab0\nmov     rdi, [rax+0F50h]                                               ; +0x27, 0x100008ab7\nmov     rax, [rdi]                                                     ; +0x2e, 0x100008abe\ncall    qword ptr [rax+0A8h]                                           ; +0x31, 0x100008ac1\naddss   xmm0, cs:dword_100A037FC                                       ; +0x37, 0x100008ac7\nmovss   xmm2, cs:dword_100A03744                                       ; +0x3f, 0x100008acf\ndivss   xmm0, xmm2                                                     ; +0x47, 0x100008ad7\naddss   xmm0, cs:dword_100A037F8                                       ; +0x4b, 0x100008adb\nmovaps  xmm1, cs:xmmword_100A035F0                                     ; +0x53, 0x100008ae3\nandps   xmm1, xmm0                                                     ; +0x5a, 0x100008aea\norps    xmm1, cs:xmmword_100A03600                                     ; +0x5d, 0x100008aed\naddss   xmm1, xmm0                                                     ; +0x64, 0x100008af4\nxorps   xmm0, xmm0                                                     ; +0x68, 0x100008af8\nroundss xmm0, xmm1, 0Bh                                                ; +0x6b, 0x100008afb\nmulss   xmm0, xmm2                                                     ; +0x71, 0x100008b01\nmovss   xmm1, cs:dword_100A035BC                                       ; +0x75, 0x100008b05\nminss   xmm1, xmm0                                                     ; +0x7d, 0x100008b0d\nmaxss   xmm2, xmm1                                                     ; +0x81, 0x100008b11\nmovss   [rbp+var_14], xmm2                                             ; +0x85, 0x100008b15\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x8a, 0x100008b1a\nlea     rdi, [rbp+var_1C]                                              ; +0x8f, 0x100008b1f\nmov     rsi, rax                                                       ; +0x93, 0x100008b23\ncall    cocos2d__CCDirector__getWinSize                                ; +0x96, 0x100008b26\nmovss   xmm1, cs:dword_100A03578                                       ; +0x9b, 0x100008b2b\nmovss   xmm0, [rbp+var_1C]                                             ; +0xa3, 0x100008b33\nmulss   xmm0, xmm1                                                     ; +0xa8, 0x100008b38\nmulss   xmm1, [rbp+var_18]                                             ; +0xac, 0x100008b3c\nlea     r14, [rbp+var_24]                                              ; +0xb1, 0x100008b41\nmov     rdi, r14                                                       ; +0xb5, 0x100008b45\ncall    sub_100278250                                                  ; +0xb8, 0x100008b48\nmov     rdi, rbx                                                       ; +0xbd, 0x100008b4d\nmovss   xmm0, [rbp+var_14]                                             ; +0xc0, 0x100008b50\nmov     rsi, r14                                                       ; +0xc5, 0x100008b55\ncall    EditorUI__updateZoom                                           ; +0xc8, 0x100008b58\nadd     rsp, 20h                                                       ; +0xcd, 0x100008b5d\npop     rbx                                                            ; +0xd1, 0x100008b61\npop     r14                                                            ; +0xd2, 0x100008b62\npop     rbp                                                            ; +0xd4, 0x100008b64\nretn                                                                   ; +0xd5, 0x100008b65", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c5f0", "EditorUI::init @ 0x1000063c2"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}