{"type": "func", "start": 8155564, "end": 8155712, "name": "EditorUI::updateZoom", "pseudocode": "// \n// EditorUI::updateZoom from 0x7c71ac to 0x7c7240 (148 bytes)\n// \n// 4 xrefs:\n// > EditorUI::zoomGameLayer @ 0x7c72a8\n// > EditorUI::zoomGameLayer @ 0x7c72c4\n// > EditorUI::playtestStopped @ 0x7ce93c\n// > <???> @ 0xdf1f8\n// \n// This function is hookable on this platform (idp: arm, 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:54:09 +0000\n// \n\n__int64 __fastcall EditorUI::updateZoom(EditorUI *this, float a2)\n{\n  cocos2d::CCDirector *v4; // x0\n  __int64 v6; // [xsp+48h] [xbp+48h] BYREF\n  _BYTE v7[8]; // [xsp+50h] [xbp+50h] BYREF\n\n  v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);\n  cocos2d::CCDirector::getWinSize(&v6, v4);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, *(float *)&v6 * 0.5, *((float *)&v6 + 1) * 0.5);\n  EditorUI::updateZoom((__int64)this, (const cocos2d::CCPoint *)v7, a2);\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::updateZoom from 0x7c71ac to 0x7c7240 (148 bytes)\n; \n; 4 xrefs:\n; > EditorUI::zoomGameLayer @ 0x7c72a8\n; > EditorUI::zoomGameLayer @ 0x7c72c4\n; > EditorUI::playtestStopped @ 0x7ce93c\n; > <???> @ 0xdf1f8\n; \n; This function is hookable on this platform (idp: arm, 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:54:09 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x7c71ac\nMOV             X29, SP                                                ; +0x4, 0x7c71b0\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x7c71b4\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x7c71b8\nSTR             X21, [SP,#0x60+var_40]                                 ; +0x10, 0x7c71bc\nSTR             D8, [SP,#0x60+var_38]                                  ; +0x14, 0x7c71c0\nMOV             X21, X0                                                ; +0x18, 0x7c71c4\nFMOV            S8, S0                                                 ; +0x1c, 0x7c71c8\nADD             X20, X29, #0x60+var_10                                 ; +0x20, 0x7c71cc\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x7c71d0\nLDR             X0, [X19]; this                                        ; +0x28, 0x7c71d4\nSTR             X0, [X29,#0x60+var_8]                                  ; +0x2c, 0x7c71d8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x7c71dc\nADD             X8, X29, #0x60+var_18                                  ; +0x34, 0x7c71e0\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x38, 0x7c71e4\nSTR             X20, [X29,#0x60+var_28]                                ; +0x3c, 0x7c71e8\nLDR             S2, [X29,#0x60+var_14]                                 ; +0x40, 0x7c71ec\nMOV             X0, X20; this                                          ; +0x44, 0x7c71f0\nFMOV            S1, #0.5                                               ; +0x48, 0x7c71f4\nLDR             S0, [X29,#0x60+var_18]                                 ; +0x4c, 0x7c71f8\nFMUL            S0, S0, S1; float                                      ; +0x50, 0x7c71fc\nFMUL            S1, S2, S1; float                                      ; +0x54, 0x7c7200\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x58, 0x7c7204\nFMOV            S0, S8                                                 ; +0x5c, 0x7c7208\nLDR             X1, [X29,#0x60+var_28]                                 ; +0x60, 0x7c720c\nMOV             X0, X21                                                ; +0x64, 0x7c7210\nBL              _ZN8EditorUI10updateZoomEfN7cocos2d7CCPointE; EditorUI::updateZoom(float,cocos2d::CCPoint) ; +0x68, 0x7c7214\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x6c, 0x7c7218\nLDR             X0, [X19]                                              ; +0x70, 0x7c721c\nCMP             X1, X0                                                 ; +0x74, 0x7c7220\nB.NE            loc_7C723C                                             ; +0x78, 0x7c7224\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x7c, 0x7c7228\nLDR             X21, [SP,#0x60+var_40]                                 ; +0x80, 0x7c722c\nLDR             D8, [SP,#0x60+var_38]                                  ; +0x84, 0x7c7230\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x88, 0x7c7234\nRET                                                                    ; +0x8c, 0x7c7238\nBL              .__stack_chk_fail                                      ; +0x90, 0x7c723c", "xrefs": ["EditorUI::zoomGameLayer @ 0x7c72a8", "EditorUI::zoomGameLayer @ 0x7c72c4", "EditorUI::playtestStopped @ 0x7ce93c", "<???> @ 0xdf1f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}