{"type": "func", "start": 7403964, "end": 7404094, "name": "EditorUI::scaleXChanged", "pseudocode": "// \n// EditorUI::scaleXChanged from 0x70f9bc to 0x70fa3e (130 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleXChanged @ 0x70fa48\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:57:43 +0000\n// \n\nunsigned int __fastcall EditorUI::scaleXChanged(EditorUI *this, float a2, char a3)\n{\n  float *v6; // r0\n  unsigned int result; // r0\n  cocos2d::CCArray *v8; // r7\n  _BYTE v9[8]; // [sp+14h] [bp-Ch] BYREF\n\n  v6 = *((float **)this + 249);\n  if ( v6 )\n    return GameObject::updateCustomScaleX((GameObject *)v6, a2 * v6[283]);\n  result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167));\n  if ( result )\n  {\n    v8 = *((cocos2d::CCArray **)this + 167);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (EditorUI *)((char *)this + 580));\n    return EditorUI::scaleObjects(this, v8, a2, 0.0, (cocos2d::CCPoint *)v9, 1, a3);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scaleXChanged from 0x70f9bc to 0x70fa3e (130 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleXChanged @ 0x70fa48\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:57:43 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x70f9bc\nMOV             R4, R0                                                 ; +0x4, 0x70f9c0\nVPUSH           {D8}                                                   ; +0x6, 0x70f9c2\nMOV             R8, R2                                                 ; +0xa, 0x70f9c6\nLDR             R3, =(__stack_chk_guard_ptr - 0x70F9CE)                ; +0xc, 0x70f9c8\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xe, 0x70f9ca\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x10, 0x70f9cc\nVMOV            S16, R1                                                ; +0x12, 0x70f9ce\nLDR.W           R0, [R0,#0x3E4]; this                                  ; +0x16, 0x70f9d2\nSUB             SP, SP, #0x20                                          ; +0x1a, 0x70f9d6\nLDR             R2, [R3]                                               ; +0x1c, 0x70f9d8\nMOV             R5, R3                                                 ; +0x1e, 0x70f9da\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x20, 0x70f9dc\nCBZ             R0, loc_70F9F6                                         ; +0x22, 0x70f9de\nADDW            R3, R0, #0x46C                                         ; +0x24, 0x70f9e0\nVLDR            S15, [R3]                                              ; +0x28, 0x70f9e4\nVMUL.F32        S15, S16, S15                                          ; +0x2c, 0x70f9e8\nVMOV            R1, S15; float                                         ; +0x30, 0x70f9ec\nBL              _ZN10GameObject18updateCustomScaleXEf; GameObject::updateCustomScaleX(float) ; +0x34, 0x70f9f0\nB               loc_70FA28                                             ; +0x38, 0x70f9f4\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x3a, 0x70f9f6\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3e, 0x70f9fa\nCBZ             R0, loc_70FA28                                         ; +0x42, 0x70f9fe\nLDR.W           R7, [R4,#0x29C]                                        ; +0x44, 0x70fa00\nADD             R6, SP, #0x20+var_C                                    ; +0x48, 0x70fa04\nADD.W           R1, R4, #0x244; cocos2d::CCPoint *                     ; +0x4a, 0x70fa06\nMOV             R0, R6; this                                           ; +0x4e, 0x70fa0a\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x50, 0x70fa0c\nMOVS            R3, #1                                                 ; +0x54, 0x70fa10\nSTR             R6, [SP,#0x20+var_20]; int                             ; +0x56, 0x70fa12\nMOV             R0, R4; int                                            ; +0x58, 0x70fa14\nSTR             R3, [SP,#0x20+var_1C]; int                             ; +0x5a, 0x70fa16\nMOV             R1, R7; this                                           ; +0x5c, 0x70fa18\nSTR.W           R8, [SP,#0x20+var_18]; char                            ; +0x5e, 0x70fa1a\nMOVS            R3, #0; int                                            ; +0x62, 0x70fa1e\nVMOV            R2, S16; int                                           ; +0x64, 0x70fa20\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0x68, 0x70fa24\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x6c, 0x70fa28\nLDR             R3, [R5]                                               ; +0x6e, 0x70fa2a\nCMP             R2, R3                                                 ; +0x70, 0x70fa2c\nBEQ             loc_70FA34                                             ; +0x72, 0x70fa2e\nBLX             __stack_chk_fail                                       ; +0x74, 0x70fa30\nADD             SP, SP, #0x20 ; ' '                                    ; +0x78, 0x70fa34\nVPOP            {D8}                                                   ; +0x7a, 0x70fa36\nPOP.W           {R4-R8,PC}                                             ; +0x7e, 0x70fa3a", "xrefs": ["`non-virtual thunk to'EditorUI::scaleXChanged @ 0x70fa48"], "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"}