{"type": "func", "start": 7404252, "end": 7404382, "name": "EditorUI::scaleXYChanged", "pseudocode": "// \n// EditorUI::scaleXYChanged from 0x70fadc to 0x70fb5e (130 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0x70fb68\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::scaleXYChanged(cocos2d::CCArray **this, float a2, float a3, int a4)\n{\n  unsigned int result; // r0\n  cocos2d::CCArray *v9; // r11\n  _BYTE v10[8]; // [sp+14h] [bp-10h] BYREF\n\n  if ( *(this + 249) )\n  {\n    (*((void (__fastcall **)(cocos2d::CCArray **, _DWORD, int))*this + 173))(this, LODWORD(a2), a4);\n    return (*((int (__fastcall **)(cocos2d::CCArray **, _DWORD, int))*this + 174))(this, LODWORD(a3), a4);\n  }\n  else\n  {\n    result = cocos2d::CCArray::count(*(this + 167));\n    if ( result )\n    {\n      v9 = *(this + 167);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (const cocos2d::CCPoint *)(this + 145));\n      return EditorUI::scaleObjects((cocos2d::CCArray *)this, v9, a2, a3, (cocos2d::CCPoint *)v10, 0, a4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scaleXYChanged from 0x70fadc to 0x70fb5e (130 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0x70fb68\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-R11,LR}                                            ; +0x0, 0x70fadc\nMOV             R6, R3                                                 ; +0x4, 0x70fae0\nLDR             R3, =(__stack_chk_guard_ptr - 0x70FAF0)                ; +0x6, 0x70fae2\nMOV             R7, R2                                                 ; +0x8, 0x70fae4\nSUB             SP, SP, #0x24                                          ; +0xa, 0x70fae6\nLDR.W           R8, [R0,#0x3E4]                                        ; +0xc, 0x70fae8\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x10, 0x70faec\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x12, 0x70faee\nMOV             R4, R0                                                 ; +0x14, 0x70faf0\nMOV             R10, R1                                                ; +0x16, 0x70faf2\nLDR             R2, [R3]                                               ; +0x18, 0x70faf4\nMOV             R5, R3                                                 ; +0x1a, 0x70faf6\nSTR             R2, [SP,#0x24+var_8]                                   ; +0x1c, 0x70faf8\nCMP.W           R8, #0                                                 ; +0x1e, 0x70fafa\nBEQ             loc_70FB1A                                             ; +0x22, 0x70fafe\nLDR             R3, [R0]                                               ; +0x24, 0x70fb00\nMOV             R2, R6                                                 ; +0x26, 0x70fb02\nLDR.W           R3, [R3,#0x2B4]                                        ; +0x28, 0x70fb04\nBLX             R3                                                     ; +0x2c, 0x70fb08\nLDR             R3, [R4]                                               ; +0x2e, 0x70fb0a\nMOV             R0, R4                                                 ; +0x30, 0x70fb0c\nMOV             R1, R7                                                 ; +0x32, 0x70fb0e\nMOV             R2, R6                                                 ; +0x34, 0x70fb10\nLDR.W           R3, [R3,#0x2B8]                                        ; +0x36, 0x70fb12\nBLX             R3                                                     ; +0x3a, 0x70fb16\nB               loc_70FB4C                                             ; +0x3c, 0x70fb18\nLDR.W           R0, [R0,#0x29C]; this                                  ; +0x3e, 0x70fb1a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x42, 0x70fb1e\nCBZ             R0, loc_70FB4C                                         ; +0x46, 0x70fb22\nLDR.W           R11, [R4,#0x29C]                                       ; +0x48, 0x70fb24\nADD.W           R9, SP, #0x24+var_10                                   ; +0x4c, 0x70fb28\nADD.W           R1, R4, #0x244; cocos2d::CCPoint *                     ; +0x50, 0x70fb2c\nMOV             R0, R9; this                                           ; +0x54, 0x70fb30\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x56, 0x70fb32\nSTR.W           R9, [SP,#0x24+var_24]; int                             ; +0x5a, 0x70fb36\nSTR.W           R8, [SP,#0x24+var_20]; int                             ; +0x5e, 0x70fb3a\nMOV             R0, R4; int                                            ; +0x62, 0x70fb3e\nSTR             R6, [SP,#0x24+var_1C]; char                            ; +0x64, 0x70fb40\nMOV             R1, R11; this                                          ; +0x66, 0x70fb42\nMOV             R2, R10; int                                           ; +0x68, 0x70fb44\nMOV             R3, R7; int                                            ; +0x6a, 0x70fb46\nBL              _ZN8EditorUI12scaleObjectsEPN7cocos2d7CCArrayEffNS0_7CCPointE15ObjectScaleTypeb; EditorUI::scaleObjects(cocos2d::CCArray *,float,float,cocos2d::CCPoint,ObjectScaleType,bool) ; +0x6c, 0x70fb48\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x70, 0x70fb4c\nLDR             R3, [R5]                                               ; +0x72, 0x70fb4e\nCMP             R2, R3                                                 ; +0x74, 0x70fb50\nBEQ             loc_70FB58                                             ; +0x76, 0x70fb52\nBLX             __stack_chk_fail                                       ; +0x78, 0x70fb54\nADD             SP, SP, #0x24 ; '$'                                    ; +0x7c, 0x70fb58\nPOP.W           {R4-R11,PC}                                            ; +0x7e, 0x70fb5a", "xrefs": ["`non-virtual thunk to'EditorUI::scaleXYChanged @ 0x70fb68"], "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"}