{"type": "func", "start": 12597916, "end": 12598144, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0xc03a9c to 0xc03b80 (228 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0xc03b84\n// > <???> @ 0x99718\n// > <???> @ 0x14372e8\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::scaleXYChanged(EditorUI *this, float a2, float a3, unsigned __int8 a4)\n{\n  unsigned int v5; // w21\n  cocos2d::CCArray *v8; // x22\n  int v9; // w5\n  int v10; // w6\n  int v11; // w7\n  char v12; // [xsp+0h] [xbp+0h]\n  _BYTE v14[8]; // [xsp+60h] [xbp+60h] BYREF\n\n  v5 = a4;\n  if ( *((_QWORD *)this + 187) )\n  {\n    (*(void (__fastcall **)(EditorUI *, _QWORD))(*(_QWORD *)this + 1384LL))(this, a4);\n    (*(void (__fastcall **)(EditorUI *, _QWORD, float))(*(_QWORD *)this + 1392LL))(this, v5, a3);\n  }\n  else if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) )\n  {\n    v8 = *((cocos2d::CCArray **)this + 112);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, (EditorUI *)((char *)this + 768));\n    EditorUI::scaleObjects((__int64)this, v8, (cocos2d::CCPoint *)v14, 0, v5, v9, v10, v11, a2, a3, v12);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0xc03a9c to 0xc03b80 (228 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0xc03b84\n; > <???> @ 0x99718\n; > <???> @ 0x14372e8\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_70]!                                ; +0x0, 0xc03a9c\nMOV             X29, SP                                                ; +0x4, 0xc03aa0\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0xc03aa4\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc03aa8\nMOV             X20, X0                                                ; +0x10, 0xc03aac\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x14, 0xc03ab0\nSTR             D8, [SP,#0x70+var_40]                                  ; +0x18, 0xc03ab4\nUXTB            W21, W1                                                ; +0x1c, 0xc03ab8\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xc03abc\nLDR             X1, [X0,#0x5D8]                                        ; +0x24, 0xc03ac0\nSTR             Q1, [X29,#0x70+var_20]                                 ; +0x28, 0xc03ac4\nLDR             X2, [X2]                                               ; +0x2c, 0xc03ac8\nSTR             X2, [X29,#0x70+var_8]                                  ; +0x30, 0xc03acc\nFMOV            S8, S0                                                 ; +0x34, 0xc03ad0\nCBZ             X1, loc_C03B2C                                         ; +0x38, 0xc03ad4\nLDR             X2, [X0]                                               ; +0x3c, 0xc03ad8\nMOV             W1, W21                                                ; +0x40, 0xc03adc\nLDR             X2, [X2,#0x568]                                        ; +0x44, 0xc03ae0\nBLR             X2                                                     ; +0x48, 0xc03ae4\nLDR             X2, [X20]                                              ; +0x4c, 0xc03ae8\nMOV             X0, X20                                                ; +0x50, 0xc03aec\nLDR             Q1, [X29,#0x70+var_20]                                 ; +0x54, 0xc03af0\nMOV             W1, W21                                                ; +0x58, 0xc03af4\nFMOV            S0, S1                                                 ; +0x5c, 0xc03af8\nLDR             X2, [X2,#0x570]                                        ; +0x60, 0xc03afc\nBLR             X2                                                     ; +0x64, 0xc03b00\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x68, 0xc03b04\nLDR             X1, [X29,#0x70+var_8]                                  ; +0x6c, 0xc03b08\nLDR             X0, [X19]                                              ; +0x70, 0xc03b0c\nCMP             X1, X0                                                 ; +0x74, 0xc03b10\nB.NE            loc_C03B7C                                             ; +0x78, 0xc03b14\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0x7c, 0xc03b18\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0x80, 0xc03b1c\nLDR             D8, [SP,#0x70+var_40]                                  ; +0x84, 0xc03b20\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0x88, 0xc03b24\nRET; char                                                              ; +0x8c, 0xc03b28\nLDR             X0, [X0,#0x380]; this                                  ; +0x90, 0xc03b2c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x94, 0xc03b30\nLDR             Q1, [X29,#0x70+var_20]                                 ; +0x98, 0xc03b34\nCBZ             W0, loc_C03B04                                         ; +0x9c, 0xc03b38\nADD             X2, X29, #0x70+var_10                                  ; +0xa0, 0xc03b3c\nADD             X1, X20, #0x300; cocos2d::CCPoint *                    ; +0xa4, 0xc03b40\nMOV             X0, X2; this                                           ; +0xa8, 0xc03b44\nLDR             X22, [X20,#0x380]                                      ; +0xac, 0xc03b48\nSTR             Q1, [X29,#0x70+var_30]                                 ; +0xb0, 0xc03b4c\nSTR             X2, [X29,#0x70+var_20]                                 ; +0xb4, 0xc03b50\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xb8, 0xc03b54\nLDR             Q1, [X29,#0x70+var_30]                                 ; +0xbc, 0xc03b58\nLDR             X2, [X29,#0x70+var_20]; int                            ; +0xc0, 0xc03b5c\nFMOV            S0, S8                                                 ; +0xc4, 0xc03b60\nMOV             X0, X20; int                                           ; +0xc8, 0xc03b64\nMOV             X1, X22; this                                          ; +0xcc, 0xc03b68\nMOV             W3, #0; int                                            ; +0xd0, 0xc03b6c\nMOV             W4, W21; int                                           ; +0xd4, 0xc03b70\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0xd8, 0xc03b74\nB               loc_C03B04                                             ; +0xdc, 0xc03b78\nBL              .__stack_chk_fail                                      ; +0xe0, 0xc03b7c", "xrefs": ["`non-virtual thunk to'EditorUI::scaleXYChanged @ 0xc03b84", "<???> @ 0x99718", "<???> @ 0x14372e8"], "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"}