{"type": "func", "start": 7405676, "end": 7406118, "name": "EditorUI::updateTransformControl", "pseudocode": "// \n// EditorUI::updateTransformControl from 0x71006c to 0x710226 (442 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::updateTransformControl @ 0x710234\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:44 +0000\n// \n\ncocos2d::CCArray *__fastcall EditorUI::updateTransformControl(EditorUI *this)\n{\n  cocos2d::CCArray *result; // r0\n  int v3; // r2\n  int v4; // r6\n  float v5; // r0\n  cocos2d::CCObject *v6; // r1\n  unsigned int v7; // r2\n  cocos2d::CCArray *v8; // r0\n  int v9; // r0\n  float v10; // s16\n  cocos2d::CCArray *v11; // r0\n  cocos2d::CCArray *v12; // r6\n  _BYTE v13[8]; // [sp+1Ch] [bp-10h] BYREF\n\n  result = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 149) + 176))(*((_DWORD *)this + 149));\n  if ( result )\n  {\n    v3 = *((unsigned __int8 *)this + 392);\n    *((_DWORD *)this + 91) = 1065353216;\n    *((_DWORD *)this + 92) = 1065353216;\n    *((_DWORD *)this + 93) = 0;\n    *((_DWORD *)this + 107) = 1065353216;\n    *((_DWORD *)this + 108) = 1065353216;\n    *((_DWORD *)this + 94) = 0;\n    *((_DWORD *)this + 95) = 0;\n    *((_DWORD *)this + 96) = 0;\n    *((_DWORD *)this + 99) = 0;\n    *((_DWORD *)this + 100) = 0;\n    *((_DWORD *)this + 101) = 0;\n    *((_DWORD *)this + 102) = 0;\n    if ( v3 )\n    {\n      v4 = *((_DWORD *)this + 249);\n      *((_BYTE *)this + 392) = 0;\n      if ( v4 )\n      {\n        v5 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v4 + 184))(v4));\nLABEL_11:\n        v10 = v5;\n        if ( v5 != 0.0 && !*(_BYTE *)(*((_DWORD *)this + 149) + 459) )\n        {\n          v11 = *((cocos2d::CCArray **)this + 249);\n          if ( v11 )\n            v12 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v11, v6);\n          else\n            v12 = *((cocos2d::CCArray **)this + 167);\n          EditorUI::resetObjectEditorValues((unsigned int)this, v12, v7);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, (EditorUI *)((char *)this + 580));\n          EditorUI::transformObjects(\n            (int)this,\n            v12,\n            (cocos2d::CCPoint *)v13,\n            1065353216,\n            1065353216,\n            COERCE_INT(-v10),\n            COERCE_INT(-v10),\n            0,\n            0);\n        }\n        goto LABEL_9;\n      }\n      v8 = *((cocos2d::CCArray **)this + 167);\n      if ( v8 && cocos2d::CCArray::count(v8) )\n      {\n        v9 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 167), 0);\n        v5 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v9 + 184))(v9));\n        goto LABEL_11;\n      }\n      v10 = 0.0;\n    }\n    else\n    {\n      v10 = 0.0;\n    }\nLABEL_9:\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 150) + 64))(\n      *((_DWORD *)this + 150),\n      *((_DWORD *)this + 91));\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 150) + 72))(\n      *((_DWORD *)this + 150),\n      *((_DWORD *)this + 92));\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 150) + 188))(\n      *((_DWORD *)this + 150),\n      *((_DWORD *)this + 93));\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 150) + 196))(\n      *((_DWORD *)this + 150),\n      *((_DWORD *)this + 94));\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 150) + 132))(\n      *((_DWORD *)this + 150),\n      *((_DWORD *)this + 95));\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 150) + 140))(\n      *((_DWORD *)this + 150),\n      *((_DWORD *)this + 96));\n    result = (cocos2d::CCArray *)GJTransformControl::loadValues(\n                                   *((GJTransformControl **)this + 149),\n                                   *((cocos2d::CCArray **)this + 249),\n                                   *((cocos2d::CCArray **)this + 167),\n                                   (int)this + 344);\n    if ( v10 != 0.0 )\n      return GJTransformControl::applyRotation(*((GJTransformControl **)this + 149), v10);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::updateTransformControl from 0x71006c to 0x710226 (442 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::updateTransformControl @ 0x710234\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:44 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x71006c\nMOV             R4, R0                                                 ; +0x4, 0x710070\nVPUSH           {D8}                                                   ; +0x6, 0x710072\nLDR             R7, =(__stack_chk_guard_ptr - 0x71007C)                ; +0xa, 0x710076\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xc, 0x710078\nLDR             R7, [R7]; __stack_chk_guard                            ; +0xe, 0x71007a\nLDR.W           R0, [R0,#0x254]                                        ; +0x10, 0x71007c\nSUB             SP, SP, #0x2C                                          ; +0x14, 0x710080\nLDR             R3, [R7]                                               ; +0x16, 0x710082\nSTR             R3, [SP,#0x2C+var_8]                                   ; +0x18, 0x710084\nLDR             R3, [R0]                                               ; +0x1a, 0x710086\nLDR.W           R3, [R3,#0xB0]                                         ; +0x1c, 0x710088\nBLX             R3                                                     ; +0x20, 0x71008c\nCMP             R0, #0                                                 ; +0x22, 0x71008e\nBEQ.W           loc_710210                                             ; +0x24, 0x710090\nVLDR            S15, =0.0                                              ; +0x28, 0x710094\nMOV.W           R3, #0x3F800000                                        ; +0x2c, 0x710098\nLDRB.W          R2, [R4,#0x188]                                        ; +0x30, 0x71009c\nMOV             R5, R3                                                 ; +0x34, 0x7100a0\nSTR.W           R3, [R4,#0x16C]                                        ; +0x36, 0x7100a2\nSTR.W           R3, [R4,#0x170]                                        ; +0x3a, 0x7100a6\nVSTR            S15, [R4,#0x174]                                       ; +0x3e, 0x7100aa\nSTR.W           R3, [R4,#0x1AC]                                        ; +0x42, 0x7100ae\nSTR.W           R3, [R4,#0x1B0]                                        ; +0x46, 0x7100b2\nVSTR            S15, [R4,#0x178]                                       ; +0x4a, 0x7100b6\nVSTR            S15, [R4,#0x17C]                                       ; +0x4e, 0x7100ba\nVSTR            S15, [R4,#0x180]                                       ; +0x52, 0x7100be\nVSTR            S15, [R4,#0x18C]                                       ; +0x56, 0x7100c2\nVSTR            S15, [R4,#0x190]                                       ; +0x5a, 0x7100c6\nVSTR            S15, [R4,#0x194]                                       ; +0x5e, 0x7100ca\nVSTR            S15, [R4,#0x198]                                       ; +0x62, 0x7100ce\nVMOV            R8, S15                                                ; +0x66, 0x7100d2\nCBZ             R2, loc_710114                                         ; +0x6a, 0x7100d6\nLDR.W           R6, [R4,#0x3E4]                                        ; +0x6c, 0x7100d8\nMOVS            R3, #0                                                 ; +0x70, 0x7100dc\nSTRB.W          R3, [R4,#0x188]                                        ; +0x72, 0x7100de\nCBZ             R6, loc_7100EE                                         ; +0x76, 0x7100e2\nLDR             R3, [R6]                                               ; +0x78, 0x7100e4\nMOV             R0, R6                                                 ; +0x7a, 0x7100e6\nLDR.W           R3, [R3,#0xB8]                                         ; +0x7c, 0x7100e8\nB               loc_7101A0                                             ; +0x80, 0x7100ec\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x82, 0x7100ee\nCMP             R0, #0                                                 ; +0x86, 0x7100f2\nBEQ.W           loc_71020A                                             ; +0x88, 0x7100f4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x8c, 0x7100f8\nCMP             R0, #0                                                 ; +0x90, 0x7100fc\nBEQ.W           loc_71020A                                             ; +0x92, 0x7100fe\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x96, 0x710102\nMOV             R1, R6; unsigned int                                   ; +0x9a, 0x710106\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x9c, 0x710108\nLDR             R3, [R0]                                               ; +0xa0, 0x71010c\nLDR.W           R3, [R3,#0xB8]                                         ; +0xa2, 0x71010e\nB               loc_7101A0                                             ; +0xa6, 0x710112\nVMOV.F32        S16, S15                                               ; +0xa8, 0x710114\nLDR.W           R0, [R4,#0x258]                                        ; +0xac, 0x710118\nLDR.W           R1, [R4,#0x16C]                                        ; +0xb0, 0x71011c\nLDR             R3, [R0]                                               ; +0xb4, 0x710120\nLDR             R3, [R3,#0x40]                                         ; +0xb6, 0x710122\nBLX             R3                                                     ; +0xb8, 0x710124\nLDR.W           R0, [R4,#0x258]                                        ; +0xba, 0x710126\nLDR.W           R1, [R4,#0x170]                                        ; +0xbe, 0x71012a\nLDR             R3, [R0]                                               ; +0xc2, 0x71012e\nLDR             R3, [R3,#0x48]                                         ; +0xc4, 0x710130\nBLX             R3                                                     ; +0xc6, 0x710132\nLDR.W           R0, [R4,#0x258]                                        ; +0xc8, 0x710134\nLDR.W           R1, [R4,#0x174]                                        ; +0xcc, 0x710138\nLDR             R3, [R0]                                               ; +0xd0, 0x71013c\nLDR.W           R3, [R3,#0xBC]                                         ; +0xd2, 0x71013e\nBLX             R3                                                     ; +0xd6, 0x710142\nLDR.W           R0, [R4,#0x258]                                        ; +0xd8, 0x710144\nLDR.W           R1, [R4,#0x178]                                        ; +0xdc, 0x710148\nLDR             R3, [R0]                                               ; +0xe0, 0x71014c\nLDR.W           R3, [R3,#0xC4]                                         ; +0xe2, 0x71014e\nBLX             R3                                                     ; +0xe6, 0x710152\nLDR.W           R0, [R4,#0x258]                                        ; +0xe8, 0x710154\nLDR.W           R1, [R4,#0x17C]                                        ; +0xec, 0x710158\nLDR             R3, [R0]                                               ; +0xf0, 0x71015c\nLDR.W           R3, [R3,#0x84]                                         ; +0xf2, 0x71015e\nBLX             R3                                                     ; +0xf6, 0x710162\nLDR.W           R0, [R4,#0x258]                                        ; +0xf8, 0x710164\nLDR.W           R1, [R4,#0x180]                                        ; +0xfc, 0x710168\nLDR             R3, [R0]                                               ; +0x100, 0x71016c\nLDR.W           R3, [R3,#0x8C]                                         ; +0x102, 0x71016e\nBLX             R3                                                     ; +0x106, 0x710172\nLDR.W           R0, [R4,#0x254]; this                                  ; +0x108, 0x710174\nLDR.W           R1, [R4,#0x3E4]; cocos2d::CCArray *                    ; +0x10c, 0x710178\nADD.W           R3, R4, #0x158                                         ; +0x110, 0x71017c\nLDR.W           R2, [R4,#0x29C]; cocos2d::CCArray *                    ; +0x114, 0x710180\nBL              _ZN18GJTransformControl10loadValuesEP10GameObjectPN7cocos2d7CCArrayERNSt6__ndk113unordered_mapIi21GameObjectEditorStateNS5_4hashIiEENS5_8equal_toIiEENS5_9allocatorINS5_4pairIKiS7_EEEEEE; GJTransformControl::loadValues(GameObject *,cocos2d::CCArray *,std::unordered_map<int,GameObjectEditorState> &) ; +0x118, 0x710184\nVCMP.F32        S16, #0.0                                              ; +0x11c, 0x710188\nVMRS            APSR_nzcv, FPSCR                                       ; +0x120, 0x71018c\nBEQ             loc_710210                                             ; +0x124, 0x710190\nLDR.W           R0, [R4,#0x254]; this                                  ; +0x126, 0x710192\nVMOV            R1, S16; float                                         ; +0x12a, 0x710196\nBL              _ZN18GJTransformControl13applyRotationEf; GJTransformControl::applyRotation(float) ; +0x12e, 0x71019a\nB               loc_710210                                             ; +0x132, 0x71019e\nBLX             R3                                                     ; +0x134, 0x7101a0\nVMOV            S16, R0                                                ; +0x136, 0x7101a2\nVCMP.F32        S16, #0.0                                              ; +0x13a, 0x7101a6\nVMRS            APSR_nzcv, FPSCR                                       ; +0x13e, 0x7101aa\nBEQ             loc_710118                                             ; +0x142, 0x7101ae\nLDR.W           R3, [R4,#0x254]                                        ; +0x144, 0x7101b0\nLDRB.W          R3, [R3,#0x1CB]                                        ; +0x148, 0x7101b4\nCMP             R3, #0                                                 ; +0x14c, 0x7101b8\nBNE             loc_710118                                             ; +0x14e, 0x7101ba\nLDR.W           R0, [R4,#0x3E4]; this                                  ; +0x150, 0x7101bc\nCBZ             R0, loc_7101CA                                         ; +0x154, 0x7101c0\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x156, 0x7101c2\nMOV             R6, R0                                                 ; +0x15a, 0x7101c6\nB               loc_7101CE                                             ; +0x15c, 0x7101c8\nLDR.W           R6, [R4,#0x29C]                                        ; +0x15e, 0x7101ca\nADD.W           R9, SP, #0x2C+var_10                                   ; +0x162, 0x7101ce\nMOV             R0, R4; this                                           ; +0x166, 0x7101d2\nMOV             R1, R6; cocos2d::CCArray *                             ; +0x168, 0x7101d4\nBL              _ZN8EditorUI23resetObjectEditorValuesEPN7cocos2d7CCArrayE; EditorUI::resetObjectEditorValues(cocos2d::CCArray *) ; +0x16a, 0x7101d6\nADD.W           R1, R4, #0x244; cocos2d::CCPoint *                     ; +0x16e, 0x7101da\nMOV             R0, R9; this                                           ; +0x172, 0x7101de\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x174, 0x7101e0\nVNEG.F32        S15, S16                                               ; +0x178, 0x7101e4\nSTR             R5, [SP,#0x2C+var_2C]                                  ; +0x17c, 0x7101e8\nMOV             R0, R4                                                 ; +0x17e, 0x7101ea\nSTR.W           R8, [SP,#0x2C+var_20]                                  ; +0x180, 0x7101ec\nMOV             R1, R6                                                 ; +0x184, 0x7101f0\nSTR.W           R8, [SP,#0x2C+var_1C]                                  ; +0x186, 0x7101f2\nMOV             R2, R9                                                 ; +0x18a, 0x7101f6\nVSTR            S15, [SP,#0x2C+var_28]                                 ; +0x18c, 0x7101f8\nMOV.W           R3, #0x3F800000                                        ; +0x190, 0x7101fc\nVSTR            S15, [SP,#0x2C+var_24]                                 ; +0x194, 0x710200\nBL              _ZN8EditorUI16transformObjectsEPN7cocos2d7CCArrayENS0_7CCPointEffffff; EditorUI::transformObjects(cocos2d::CCArray *,cocos2d::CCPoint,float,float,float,float,float,float) ; +0x198, 0x710204\nB               loc_710118                                             ; +0x19c, 0x710208\nVLDR            S16, =0.0                                              ; +0x19e, 0x71020a\nB               loc_710118                                             ; +0x1a2, 0x71020e\nLDR             R2, [SP,#0x2C+var_8]                                   ; +0x1a4, 0x710210\nLDR             R3, [R7]                                               ; +0x1a6, 0x710212\nCMP             R2, R3                                                 ; +0x1a8, 0x710214\nBEQ             loc_71021C                                             ; +0x1aa, 0x710216\nBLX             __stack_chk_fail                                       ; +0x1ac, 0x710218\nADD             SP, SP, #0x2C ; ','                                    ; +0x1b0, 0x71021c\nVPOP            {D8}                                                   ; +0x1b2, 0x71021e\nPOP.W           {R4-R9,PC}                                             ; +0x1b6, 0x710222", "xrefs": ["`non-virtual thunk to'EditorUI::updateTransformControl @ 0x710234"], "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"}