{"type": "func", "start": 12597532, "end": 12597716, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0xc0391c to 0xc039d4 (184 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleXChanged @ 0xc039d8\n// > <???> @ 0xb6080\n// > <???> @ 0x14372d8\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 13:03:50 +0000\n// \n\n__int64 __fastcall EditorUI::scaleXChanged(EditorUI *this, float a2, unsigned __int8 a3)\n{\n  float *v5; // x0\n  cocos2d::CCArray *v7; // x22\n  int v8; // w5\n  int v9; // w6\n  int v10; // w7\n  char v11; // [xsp+0h] [xbp+0h]\n  _BYTE v13[8]; // [xsp+50h] [xbp+50h] BYREF\n\n  v5 = *((float **)this + 187);\n  if ( v5 )\n  {\n    GameObject::updateCustomScaleX((GameObject *)v5, a2 * v5[328]);\n  }\n  else if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) )\n  {\n    v7 = *((cocos2d::CCArray **)this + 112);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, (EditorUI *)((char *)this + 768));\n    EditorUI::scaleObjects((__int64)this, v7, (cocos2d::CCPoint *)v13, 1, a3, v8, v9, v10, a2, 0.0, v11);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0xc0391c to 0xc039d4 (184 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleXChanged @ 0xc039d8\n; > <???> @ 0xb6080\n; > <???> @ 0x14372d8\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 13:03:50 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0xc0391c\nMOV             X29, SP                                                ; +0x4, 0xc03920\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0xc03924\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc03928\nMOV             X20, X0                                                ; +0x10, 0xc0392c\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0xc03930\nUXTB            W21, W1                                                ; +0x18, 0xc03934\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xc03938\nLDR             X0, [X0,#0x5D8]; this                                  ; +0x20, 0xc0393c\nLDR             X1, [X1]                                               ; +0x24, 0xc03940\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x28, 0xc03944\nCBZ             X0, loc_C0397C                                         ; +0x2c, 0xc03948\nLDR             S1, [X0,#0x520]                                        ; +0x30, 0xc0394c\nFMUL            S0, S0, S1; float                                      ; +0x34, 0xc03950\nBL              _ZN10GameObject18updateCustomScaleXEf; GameObject::updateCustomScaleX(float) ; +0x38, 0xc03954\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x3c, 0xc03958\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x40, 0xc0395c\nLDR             X0, [X19]                                              ; +0x44, 0xc03960\nCMP             X1, X0                                                 ; +0x48, 0xc03964\nB.NE            loc_C039D0                                             ; +0x4c, 0xc03968\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x50, 0xc0396c\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x54, 0xc03970\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x58, 0xc03974\nRET; char                                                              ; +0x5c, 0xc03978\nLDR             X0, [X20,#0x380]; this                                 ; +0x60, 0xc0397c\nSTR             Q0, [X29,#0x60+var_20]                                 ; +0x64, 0xc03980\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x68, 0xc03984\nLDR             Q0, [X29,#0x60+var_20]                                 ; +0x6c, 0xc03988\nCBZ             W0, loc_C03958                                         ; +0x70, 0xc0398c\nADD             X2, X29, #0x60+var_10                                  ; +0x74, 0xc03990\nADD             X1, X20, #0x300; cocos2d::CCPoint *                    ; +0x78, 0xc03994\nMOV             X0, X2; this                                           ; +0x7c, 0xc03998\nLDR             X22, [X20,#0x380]                                      ; +0x80, 0xc0399c\nSTR             Q0, [X29,#0x60+var_30]                                 ; +0x84, 0xc039a0\nSTR             X2, [X29,#0x60+var_20]                                 ; +0x88, 0xc039a4\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x8c, 0xc039a8\nLDR             Q0, [X29,#0x60+var_30]                                 ; +0x90, 0xc039ac\nLDR             X2, [X29,#0x60+var_20]; int                            ; +0x94, 0xc039b0\nFMOV            S1, WZR                                                ; +0x98, 0xc039b4\nMOV             X0, X20; int                                           ; +0x9c, 0xc039b8\nMOV             X1, X22; this                                          ; +0xa0, 0xc039bc\nMOV             W3, #1; int                                            ; +0xa4, 0xc039c0\nMOV             W4, W21; int                                           ; +0xa8, 0xc039c4\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0xac, 0xc039c8\nB               loc_C03958                                             ; +0xb0, 0xc039cc\nBL              .__stack_chk_fail                                      ; +0xb4, 0xc039d0", "xrefs": ["`non-virtual thunk to'EditorUI::scaleXChanged @ 0xc039d8", "<???> @ 0xb6080", "<???> @ 0x14372d8"], "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"}