{"type": "func", "start": 4738372, "end": 4738464, "name": "EditorUI::updateZoom", "pseudocode": "// \n// EditorUI::updateZoom from 0x484d44 to 0x484da0 (92 bytes)\n// \n// 2 xrefs:\n// > EditorUI::zoomGameLayer @ 0x484e20\n// > EditorUI::playtestStopped @ 0x489ff6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:24 +0000\n// \n\nGameManager *__fastcall EditorUI::updateZoom(EditorUI *this, float a2)\n{\n  float v5[2]; // [sp+4h] [bp-18h] BYREF\n  _BYTE v6[8]; // [sp+Ch] [bp-10h] BYREF\n\n  cocos2d::CCDirector::sharedDirector(this);\n  cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v5);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, v5[0] * 0.5, v5[1] * 0.5);\n  return EditorUI::updateZoom((int)this, a2, (int)v6);\n}", "assembly": "; \n; EditorUI::updateZoom from 0x484d44 to 0x484da0 (92 bytes)\n; \n; 2 xrefs:\n; > EditorUI::zoomGameLayer @ 0x484e20\n; > EditorUI::playtestStopped @ 0x489ff6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:24 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x484d44\nSUB             SP, SP, #0x1C                                          ; +0x2, 0x484d46\nLDR             R4, =(__stack_chk_guard_ptr - 0x484D54)                ; +0x4, 0x484d48\nMOV             R6, R1                                                 ; +0x6, 0x484d4a\nMOV             R7, R0                                                 ; +0x8, 0x484d4c\nADD             R5, SP, #0x1C+var_10                                   ; +0xa, 0x484d4e\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x484d50\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x484d52\nLDR             R3, [R4]                                               ; +0x10, 0x484d54\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x12, 0x484d56\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x14, 0x484d58\nMOV             R1, R0                                                 ; +0x18, 0x484d5c\nADD             R0, SP, #0x1C+var_18; this                             ; +0x1a, 0x484d5e\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x1c, 0x484d60\nVMOV.F32        S15, #0.5                                              ; +0x20, 0x484d64\nVLDR            S14, [SP,#0x1C+var_18]                                 ; +0x24, 0x484d68\nMOV             R0, R5; this                                           ; +0x28, 0x484d6c\nVMUL.F32        S14, S14, S15                                          ; +0x2a, 0x484d6e\nVMOV            R1, S14; float                                         ; +0x2e, 0x484d72\nVLDR            S14, [SP,#0x1C+var_14]                                 ; +0x32, 0x484d76\nVMUL.F32        S15, S14, S15                                          ; +0x36, 0x484d7a\nVMOV            R2, S15; float                                         ; +0x3a, 0x484d7e\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3e, 0x484d82\nMOV             R2, R5                                                 ; +0x42, 0x484d86\nMOV             R0, R7                                                 ; +0x44, 0x484d88\nMOV             R1, R6                                                 ; +0x46, 0x484d8a\nBL              _ZN8EditorUI10updateZoomEfN7cocos2d7CCPointE; EditorUI::updateZoom(float,cocos2d::CCPoint) ; +0x48, 0x484d8c\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x4c, 0x484d90\nLDR             R3, [R4]                                               ; +0x4e, 0x484d92\nCMP             R2, R3                                                 ; +0x50, 0x484d94\nBEQ             loc_484D9C                                             ; +0x52, 0x484d96\nBLX             __stack_chk_fail                                       ; +0x54, 0x484d98\nADD             SP, SP, #0x1C                                          ; +0x58, 0x484d9c\nPOP             {R4-R7,PC}                                             ; +0x5a, 0x484d9e", "xrefs": ["EditorUI::zoomGameLayer @ 0x484e20", "EditorUI::playtestStopped @ 0x489ff6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}