{"type": "func", "start": 7405448, "end": 7405562, "name": "EditorUI::transformObjectsReset", "pseudocode": "// \n// EditorUI::transformObjectsReset from 0x70ff88 to 0x70fffa (114 bytes)\n// \n// 1 xrefs:\n// > GJTransformControl::updateButtons @ 0x6ec088\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\ncocos2d::CCArray *__fastcall EditorUI::transformObjectsReset(EditorUI *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray *v3; // r0\n  cocos2d::CCArray *result; // r0\n  cocos2d::CCArray *v5; // r6\n  _BYTE v6[8]; // [sp+1Ch] [bp-10h] BYREF\n\n  v3 = *((cocos2d::CCArray **)this + 167);\n  if ( v3 && (result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3)) != nullptr )\n  {\n    v5 = *((cocos2d::CCArray **)this + 167);\n  }\n  else\n  {\n    result = *((cocos2d::CCArray **)this + 249);\n    if ( !result )\n      return result;\n    result = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(result, a2);\n    v5 = result;\n  }\n  if ( v5 )\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, (EditorUI *)((char *)this + 580));\n    return (cocos2d::CCArray *)EditorUI::transformObjects(\n                                 (int)this,\n                                 v5,\n                                 (cocos2d::CCPoint *)v6,\n                                 1065353216,\n                                 1065353216,\n                                 0,\n                                 0,\n                                 *((_DWORD *)this + 95),\n                                 *((_DWORD *)this + 96));\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::transformObjectsReset from 0x70ff88 to 0x70fffa (114 bytes)\n; \n; 1 xrefs:\n; > GJTransformControl::updateButtons @ 0x6ec088\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; \nLDR             R3, =(__stack_chk_guard_ptr - 0x70FF90)                ; +0x0, 0x70ff88\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x70ff8a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x70ff8c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x70ff8e\nMOV             R4, R0                                                 ; +0x8, 0x70ff90\nLDR.W           R0, [R0,#0x29C]; this                                  ; +0xa, 0x70ff92\nLDR             R2, [R3]                                               ; +0xe, 0x70ff96\nSUB             SP, SP, #0x2C                                          ; +0x10, 0x70ff98\nMOV             R5, R3                                                 ; +0x12, 0x70ff9a\nSTR             R2, [SP,#0x2C+var_8]                                   ; +0x14, 0x70ff9c\nCBZ             R0, loc_70FFA6                                         ; +0x16, 0x70ff9e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x70ffa0\nCBNZ            R0, loc_70FFE4                                         ; +0x1c, 0x70ffa4\nLDR.W           R0, [R4,#0x3E4]; this                                  ; +0x1e, 0x70ffa6\nCBZ             R0, loc_70FFEA                                         ; +0x22, 0x70ffaa\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x24, 0x70ffac\nMOV             R6, R0                                                 ; +0x28, 0x70ffb0\nCBZ             R6, loc_70FFEA                                         ; +0x2a, 0x70ffb2\nADD             R7, SP, #0x2C+var_10                                   ; +0x2c, 0x70ffb4\nADD.W           R1, R4, #0x244; cocos2d::CCPoint *                     ; +0x2e, 0x70ffb6\nMOV             R0, R7; this                                           ; +0x32, 0x70ffba\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x34, 0x70ffbc\nMOVS            R2, #0                                                 ; +0x38, 0x70ffc0\nSTR             R2, [SP,#0x2C+var_28]                                  ; +0x3a, 0x70ffc2\nMOV.W           R3, #0x3F800000                                        ; +0x3c, 0x70ffc4\nSTR             R2, [SP,#0x2C+var_24]                                  ; +0x40, 0x70ffc8\nMOV             R0, R4                                                 ; +0x42, 0x70ffca\nLDR.W           R2, [R4,#0x17C]                                        ; +0x44, 0x70ffcc\nMOV             R1, R6                                                 ; +0x48, 0x70ffd0\nSTR             R3, [SP,#0x2C+var_2C]                                  ; +0x4a, 0x70ffd2\nSTR             R2, [SP,#0x2C+var_20]                                  ; +0x4c, 0x70ffd4\nLDR.W           R2, [R4,#0x180]                                        ; +0x4e, 0x70ffd6\nSTR             R2, [SP,#0x2C+var_1C]                                  ; +0x52, 0x70ffda\nMOV             R2, R7                                                 ; +0x54, 0x70ffdc\nBL              _ZN8EditorUI16transformObjectsEPN7cocos2d7CCArrayENS0_7CCPointEffffff; EditorUI::transformObjects(cocos2d::CCArray *,cocos2d::CCPoint,float,float,float,float,float,float) ; +0x56, 0x70ffde\nB               loc_70FFEA                                             ; +0x5a, 0x70ffe2\nLDR.W           R6, [R4,#0x29C]                                        ; +0x5c, 0x70ffe4\nB               loc_70FFB2                                             ; +0x60, 0x70ffe8\nLDR             R2, [SP,#0x2C+var_8]                                   ; +0x62, 0x70ffea\nLDR             R3, [R5]                                               ; +0x64, 0x70ffec\nCMP             R2, R3                                                 ; +0x66, 0x70ffee\nBEQ             loc_70FFF6                                             ; +0x68, 0x70fff0\nBLX             __stack_chk_fail                                       ; +0x6a, 0x70fff2\nADD             SP, SP, #0x2C ; ','                                    ; +0x6e, 0x70fff6\nPOP             {R4-R7,PC}                                             ; +0x70, 0x70fff8", "xrefs": ["GJTransformControl::updateButtons @ 0x6ec088"], "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"}