{"type": "func", "start": 4295220336, "end": 4295220431, "name": "EditorUI::zoomGameLayer", "pseudocode": "// \n// EditorUI::zoomGameLayer from 0x10003dc70 to 0x10003dccf (95 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorUI::zoomGameLayer(EditorUI *a1, bool a2)\n{\n  double v2; // xmm0_8\n  float v3; // xmm2_4\n\n  v2 = ((double (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer);\n  v3 = 0.1;\n  if ( !a2 )\n    v3 = -0.1;\n  EditorUI::updateZoom(a1, fmaxf(0.1, fminf(4.0, v3 + *(float *)&v2)));\n}", "assembly": "; \n; EditorUI::zoomGameLayer from 0x10003dc70 to 0x10003dccf (95 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10003dc70\nmov     rbp, rsp                                                       ; +0x1, 0x10003dc71\npush    r14                                                            ; +0x4, 0x10003dc74\npush    rbx                                                            ; +0x6, 0x10003dc76\nmov     r14d, esi                                                      ; +0x7, 0x10003dc77\nmov     rbx, rdi                                                       ; +0xa, 0x10003dc7a\nmov     rax, [rdi+4E8h]                                                ; +0xd, 0x10003dc7d\nmov     rdi, [rax+0EB8h]                                               ; +0x14, 0x10003dc84\nmov     rax, [rdi]                                                     ; +0x1b, 0x10003dc8b\ncall    qword ptr [rax+0A8h]                                           ; +0x1e, 0x10003dc8e\nmovaps  xmm1, xmm0                                                     ; +0x24, 0x10003dc94\nmovss   xmm0, cs:dword_100815058                                       ; +0x27, 0x10003dc97\nmovaps  xmm2, xmm0                                                     ; +0x2f, 0x10003dc9f\ntest    r14d, r14d                                                     ; +0x32, 0x10003dca2\njnz     short loc_10003DCAF                                            ; +0x35, 0x10003dca5\nmovss   xmm2, cs:dword_100815274                                       ; +0x37, 0x10003dca7\naddss   xmm2, xmm1                                                     ; +0x3f, 0x10003dcaf\nmovss   xmm1, cs:dword_10081505C                                       ; +0x43, 0x10003dcb3\nminss   xmm1, xmm2                                                     ; +0x4b, 0x10003dcbb\nmaxss   xmm0, xmm1                                                     ; +0x4f, 0x10003dcbf\nmov     rdi, rbx                                                       ; +0x53, 0x10003dcc3\npop     rbx                                                            ; +0x56, 0x10003dcc6\npop     r14                                                            ; +0x57, 0x10003dcc7\npop     rbp                                                            ; +0x59, 0x10003dcc9\njmp     EditorUI__updateZoom                                           ; +0x5a, 0x10003dcca", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}