{"type": "func", "start": 4295002544, "end": 4295002757, "name": "EditorUI::zoomIn", "pseudocode": "// \n// EditorUI::zoomIn from 0x1000089b0 to 0x100008a85 (213 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c6bb\n// > EditorUI::init @ 0x100006332\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::zoomIn(__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, 160);\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, 160);\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::zoomIn from 0x1000089b0 to 0x100008a85 (213 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c6bb\n; > EditorUI::init @ 0x100006332\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, 0x1000089b0\nmov     rbp, rsp                                                       ; +0x1, 0x1000089b1\npush    r14                                                            ; +0x4, 0x1000089b4\npush    rbx                                                            ; +0x6, 0x1000089b6\nsub     rsp, 20h                                                       ; +0x7, 0x1000089b7\nmov     rbx, rdi                                                       ; +0xb, 0x1000089bb\ncall    EditorSFXManager__sharedState                                  ; +0xe, 0x1000089be\nmov     rdi, rax                                                       ; +0x13, 0x1000089c3\nmov     esi, 0A0h                                                      ; +0x16, 0x1000089c6\ncall    EditorSFXManager__playAction_1                                 ; +0x1b, 0x1000089cb\nmov     rax, [rbx+5A0h]                                                ; +0x20, 0x1000089d0\nmov     rdi, [rax+0F50h]                                               ; +0x27, 0x1000089d7\nmov     rax, [rdi]                                                     ; +0x2e, 0x1000089de\ncall    qword ptr [rax+0A8h]                                           ; +0x31, 0x1000089e1\nmovss   xmm1, cs:dword_100A03744                                       ; +0x37, 0x1000089e7\naddss   xmm0, xmm1                                                     ; +0x3f, 0x1000089ef\ndivss   xmm0, xmm1                                                     ; +0x43, 0x1000089f3\nmovaps  xmm2, xmm1                                                     ; +0x47, 0x1000089f7\naddss   xmm0, cs:dword_100A037F8                                       ; +0x4a, 0x1000089fa\nmovaps  xmm1, cs:xmmword_100A035F0                                     ; +0x52, 0x100008a02\nandps   xmm1, xmm0                                                     ; +0x59, 0x100008a09\norps    xmm1, cs:xmmword_100A03600                                     ; +0x5c, 0x100008a0c\naddss   xmm1, xmm0                                                     ; +0x63, 0x100008a13\nxorps   xmm0, xmm0                                                     ; +0x67, 0x100008a17\nroundss xmm0, xmm1, 0Bh                                                ; +0x6a, 0x100008a1a\nmulss   xmm0, xmm2                                                     ; +0x70, 0x100008a20\nmovss   xmm1, cs:dword_100A035BC                                       ; +0x74, 0x100008a24\nminss   xmm1, xmm0                                                     ; +0x7c, 0x100008a2c\nmaxss   xmm2, xmm1                                                     ; +0x80, 0x100008a30\nmovss   [rbp+var_14], xmm2                                             ; +0x84, 0x100008a34\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x89, 0x100008a39\nlea     rdi, [rbp+var_1C]                                              ; +0x8e, 0x100008a3e\nmov     rsi, rax                                                       ; +0x92, 0x100008a42\ncall    cocos2d__CCDirector__getWinSize                                ; +0x95, 0x100008a45\nmovss   xmm1, cs:dword_100A03578                                       ; +0x9a, 0x100008a4a\nmovss   xmm0, [rbp+var_1C]                                             ; +0xa2, 0x100008a52\nmulss   xmm0, xmm1                                                     ; +0xa7, 0x100008a57\nmulss   xmm1, [rbp+var_18]                                             ; +0xab, 0x100008a5b\nlea     r14, [rbp+var_24]                                              ; +0xb0, 0x100008a60\nmov     rdi, r14                                                       ; +0xb4, 0x100008a64\ncall    sub_100278250                                                  ; +0xb7, 0x100008a67\nmov     rdi, rbx                                                       ; +0xbc, 0x100008a6c\nmovss   xmm0, [rbp+var_14]                                             ; +0xbf, 0x100008a6f\nmov     rsi, r14                                                       ; +0xc4, 0x100008a74\ncall    EditorUI__updateZoom                                           ; +0xc7, 0x100008a77\nadd     rsp, 20h                                                       ; +0xcc, 0x100008a7c\npop     rbx                                                            ; +0xd0, 0x100008a80\npop     r14                                                            ; +0xd1, 0x100008a81\npop     rbp                                                            ; +0xd3, 0x100008a83\nretn                                                                   ; +0xd4, 0x100008a84", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c6bb", "EditorUI::init @ 0x100006332"], "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"}