{"type": "func", "start": 3794768, "end": 3794898, "name": "EditorUI::scaleYChanged", "pseudocode": "// \n// EditorUI::scaleYChanged from 0x39e750 to 0x39e7d2 (130 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleYChanged @ 0x39e7dc\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\n// local variable allocation has failed, the output may be wrong!\nvoid EditorUI::scaleYChanged(EditorUI *a1, float a2, bool a3)\n{\n  ObjectScaleType v4; // r8\n  GameObject *m_selectedObject; // r0\n  cocos2d::CCArray *m_selectedObjects; // r7\n  cocos2d::CCPoint v8; // [sp+0h] [bp-20h]\n  bool v9; // [sp+Ch] [bp-14h]\n  cocos2d::CCPoint v10; // [sp+14h] [bp-Ch] BYREF\n\n  v4 = a3;\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    GameObject::updateCustomScaleY(m_selectedObject, a2 * m_selectedObject->m_pixelScaleY);\n  }\n  else if ( cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    m_selectedObjects = a1->m_selectedObjects;\n    cocos2d::CCPoint::CCPoint(&v10, &a1->m_pivotPoint);\n    LODWORD(v8.x) = &v10;\n    LODWORD(v8.y) = 2;\n    EditorUI::scaleObjects(a1, m_selectedObjects, 0.0, a2, v8, v4, v9);\n  }\n}", "assembly": "; \n; EditorUI::scaleYChanged from 0x39e750 to 0x39e7d2 (130 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleYChanged @ 0x39e7dc\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x39E75A)                ; +0x0, 0x39e750\nPUSH.W          {R4-R8,LR}                                             ; +0x2, 0x39e752\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x39e756\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x39e758\nVPUSH           {D8}                                                   ; +0xa, 0x39e75a\nMOV             R4, R0                                                 ; +0xe, 0x39e75e\nMOV             R8, R2                                                 ; +0x10, 0x39e760\nLDR.W           R0, [R0,#0x374]; this                                  ; +0x12, 0x39e762\nLDR             R2, [R3]                                               ; +0x16, 0x39e766\nMOV             R5, R3                                                 ; +0x18, 0x39e768\nVMOV            S16, R1                                                ; +0x1a, 0x39e76a\nSUB             SP, SP, #0x20                                          ; +0x1e, 0x39e76e\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x20, 0x39e770\nCBZ             R0, loc_39E78A                                         ; +0x22, 0x39e772\nADD.W           R3, R0, #0x468                                         ; +0x24, 0x39e774\nVLDR            S15, [R3]                                              ; +0x28, 0x39e778\nVMUL.F32        S15, S16, S15                                          ; +0x2c, 0x39e77c\nVMOV            R1, S15; float                                         ; +0x30, 0x39e780\nBL              _ZN10GameObject18updateCustomScaleYEf; GameObject::updateCustomScaleY(float) ; +0x34, 0x39e784\nB               loc_39E7BC                                             ; +0x38, 0x39e788\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x3a, 0x39e78a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3e, 0x39e78e\nCBZ             R0, loc_39E7BC                                         ; +0x42, 0x39e792\nLDR.W           R7, [R4,#0x260]                                        ; +0x44, 0x39e794\nADD             R6, SP, #0x20+var_C                                    ; +0x48, 0x39e798\nADD.W           R1, R4, #0x208; cocos2d::CCPoint *                     ; +0x4a, 0x39e79a\nMOV             R0, R6; this                                           ; +0x4e, 0x39e79e\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x50, 0x39e7a0\nMOVS            R3, #2                                                 ; +0x54, 0x39e7a4\nSTR             R6, [SP,#0x20+var_20]; int                             ; +0x56, 0x39e7a6\nMOV             R0, R4; int                                            ; +0x58, 0x39e7a8\nSTR             R3, [SP,#0x20+var_1C]; int                             ; +0x5a, 0x39e7aa\nMOV             R1, R7; this                                           ; +0x5c, 0x39e7ac\nSTR.W           R8, [SP,#0x20+var_18]; char                            ; +0x5e, 0x39e7ae\nMOVS            R2, #0; int                                            ; +0x62, 0x39e7b2\nVMOV            R3, S16; int                                           ; +0x64, 0x39e7b4\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0x68, 0x39e7b8\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x6c, 0x39e7bc\nLDR             R3, [R5]                                               ; +0x6e, 0x39e7be\nCMP             R2, R3                                                 ; +0x70, 0x39e7c0\nBEQ             loc_39E7C8                                             ; +0x72, 0x39e7c2\nBLX             __stack_chk_fail                                       ; +0x74, 0x39e7c4\nADD             SP, SP, #0x20 ; ' '                                    ; +0x78, 0x39e7c8\nVPOP            {D8}                                                   ; +0x7a, 0x39e7ca\nPOP.W           {R4-R8,PC}                                             ; +0x7e, 0x39e7ce", "xrefs": ["`non-virtual thunk to'EditorUI::scaleYChanged @ 0x39e7dc"], "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"}