{"type": "func", "start": 7405568, "end": 7405672, "name": "EditorUI::resetObjectEditorValues", "pseudocode": "// \n// EditorUI::resetObjectEditorValues from 0x710000 to 0x710068 (104 bytes)\n// \n// 2 xrefs:\n// > GJTransformControl::applyFreeRotation @ 0x6eeea6\n// > EditorUI::updateTransformControl @ 0x7101d6\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\nunsigned int __fastcall EditorUI::resetObjectEditorValues(unsigned int this, cocos2d::CCArray *a2, unsigned int a3)\n{\n  unsigned int v3; // r7\n  int v5; // r7\n  unsigned int v6; // r4\n  GameObject *v7; // r0\n  GameObject *v8; // r8\n  float v9; // r1\n  float v10; // r2\n  int v11; // r3\n  GameObjectEditorState *v12; // r0\n  unsigned int v13[3]; // [sp+0h] [bp-Ch] BYREF\n\n  v13[0] = this;\n  v13[1] = (unsigned int)a2;\n  v13[2] = a3;\n  v3 = this;\n  if ( a2 )\n  {\n    this = cocos2d::CCArray::count(a2);\n    if ( this )\n    {\n      v5 = v3 + 344;\n      v6 = 0;\n      while ( 1 )\n      {\n        this = cocos2d::CCArray::count(a2);\n        if ( v6 >= this )\n          break;\n        v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v6++);\n        v8 = v7;\n        GameObject::updateStartPos(v7, v9, v10, v11);\n        v13[0] = *((_DWORD *)v8 + 195);\n        v12 = (GameObjectEditorState *)std::unordered_map<int,GameObjectEditorState>::operator[](v5, v13);\n        GameObjectEditorState::loadValues(v12, v8);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::resetObjectEditorValues from 0x710000 to 0x710068 (104 bytes)\n; \n; 2 xrefs:\n; > GJTransformControl::applyFreeRotation @ 0x6eeea6\n; > EditorUI::updateTransformControl @ 0x7101d6\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; \nLDR             R3, =(__stack_chk_guard_ptr - 0x71000A)                ; +0x0, 0x710000\nPUSH.W          {R0-R2,R4-R9,LR}                                       ; +0x2, 0x710002\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x710006\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x710008\nMOV             R7, R0                                                 ; +0xa, 0x71000a\nMOV             R6, R1                                                 ; +0xc, 0x71000c\nLDR             R2, [R3]                                               ; +0xe, 0x71000e\nMOV             R5, R3                                                 ; +0x10, 0x710010\nSTR             R2, [SP,#0xC+var_8]                                    ; +0x12, 0x710012\nCBZ             R1, loc_710056                                         ; +0x14, 0x710014\nMOV             R0, R1; this                                           ; +0x16, 0x710016\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x710018\nCBZ             R0, loc_710056                                         ; +0x1c, 0x71001c\nADD.W           R7, R7, #0x158                                         ; +0x1e, 0x71001e\nMOVS            R4, #0                                                 ; +0x22, 0x710022\nMOV             R9, SP                                                 ; +0x24, 0x710024\nMOV             R0, R6; this                                           ; +0x26, 0x710026\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x710028\nCMP             R4, R0                                                 ; +0x2c, 0x71002c\nBCS             loc_710056                                             ; +0x2e, 0x71002e\nMOV             R1, R4; unsigned int                                   ; +0x30, 0x710030\nMOV             R0, R6; this                                           ; +0x32, 0x710032\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x34, 0x710034\nADDS            R4, #1                                                 ; +0x38, 0x710038\nMOV             R8, R0                                                 ; +0x3a, 0x71003a\nBL              _ZN10GameObject14updateStartPosEv; GameObject::updateStartPos(void) ; +0x3c, 0x71003c\nLDR.W           R3, [R8,#0x30C]                                        ; +0x40, 0x710040\nMOV             R1, R9                                                 ; +0x44, 0x710044\nMOV             R0, R7                                                 ; +0x46, 0x710046\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x48, 0x710048\nBL              _ZNSt6__ndk113unordered_mapIi21GameObjectEditorStateNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixEOi; std::unordered_map<int,GameObjectEditorState>::operator[](int &&) ; +0x4a, 0x71004a\nMOV             R1, R8; GameObject *                                   ; +0x4e, 0x71004e\nBL              _ZN21GameObjectEditorState10loadValuesEP10GameObject; GameObjectEditorState::loadValues(GameObject *) ; +0x50, 0x710050\nB               loc_710026                                             ; +0x54, 0x710054\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x56, 0x710056\nLDR             R3, [R5]                                               ; +0x58, 0x710058\nCMP             R2, R3                                                 ; +0x5a, 0x71005a\nBEQ             loc_710062                                             ; +0x5c, 0x71005c\nBLX             __stack_chk_fail                                       ; +0x5e, 0x71005e\nADD             SP, SP, #0xC                                           ; +0x62, 0x710062\nPOP.W           {R4-R9,PC}                                             ; +0x64, 0x710064", "xrefs": ["GJTransformControl::applyFreeRotation @ 0x6eeea6", "EditorUI::updateTransformControl @ 0x7101d6"], "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"}