{"type": "func", "start": 12599860, "end": 12600048, "name": "EditorUI::resetObjectEditorValues", "pseudocode": "// \n// EditorUI::resetObjectEditorValues from 0xc04234 to 0xc042f0 (188 bytes)\n// \n// 3 xrefs:\n// > GJTransformControl::applyFreeRotation @ 0xbd3900\n// > EditorUI::updateTransformControl @ 0xc043c4\n// > <???> @ 0x7de48\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:03:50 +0000\n// \n\n__int64 __fastcall EditorUI::resetObjectEditorValues(EditorUI *this, cocos2d::CCArray *a2)\n{\n  unsigned int v4; // w19\n  char *v5; // x22\n  unsigned int v6; // w1\n  GameObject *v7; // x20\n  GameObjectEditorState *v8; // x0\n  int v10; // [xsp+44h] [xbp+44h] BYREF\n\n  if ( a2 && (unsigned int)cocos2d::CCArray::count(a2) )\n  {\n    v4 = 0;\n    v5 = (char *)this + 464;\n    while ( v4 < (unsigned int)cocos2d::CCArray::count(a2) )\n    {\n      v6 = v4++;\n      v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v6);\n      GameObject::updateStartPos(v7);\n      v10 = *((_DWORD *)v7 + 229);\n      v8 = (GameObjectEditorState *)std::unordered_map<int,GameObjectEditorState>::operator[]((__int64)v5, &v10);\n      GameObjectEditorState::loadValues(v8, v7);\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::resetObjectEditorValues from 0xc04234 to 0xc042f0 (188 bytes)\n; \n; 3 xrefs:\n; > GJTransformControl::applyFreeRotation @ 0xbd3900\n; > EditorUI::updateTransformControl @ 0xc043c4\n; > <???> @ 0x7de48\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:03:50 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xc04234\nMOV             X29, SP                                                ; +0x4, 0xc04238\nSTP             X23, X24, [SP,#0x50+var_20]                            ; +0x8, 0xc0423c\nADRP            X24, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc04240\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x10, 0xc04244\nMOV             X22, X0                                                ; +0x14, 0xc04248\nMOV             X21, X1                                                ; +0x18, 0xc0424c\nLDR             X0, [X24,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xc04250\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x20, 0xc04254\nLDR             X0, [X0]                                               ; +0x24, 0xc04258\nSTR             X0, [X29,#0x50+var_8]                                  ; +0x28, 0xc0425c\nCBZ             X1, loc_C042C4                                         ; +0x2c, 0xc04260\nMOV             X0, X1; this                                           ; +0x30, 0xc04264\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x34, 0xc04268\nCBZ             W0, loc_C042C4                                         ; +0x38, 0xc0426c\nMOV             W19, #0                                                ; +0x3c, 0xc04270\nADD             X22, X22, #0x1D0                                       ; +0x40, 0xc04274\nADD             X23, X29, #0x50+var_C                                  ; +0x44, 0xc04278\nB               loc_C042B4                                             ; +0x48, 0xc0427c\nMOV             W1, W19; unsigned int                                  ; +0x4c, 0xc04280\nMOV             X0, X21; this                                          ; +0x50, 0xc04284\nADD             W19, W19, #1                                           ; +0x54, 0xc04288\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x58, 0xc0428c\nMOV             X20, X0                                                ; +0x5c, 0xc04290\nBL              _ZN10GameObject14updateStartPosEv; GameObject::updateStartPos(void) ; +0x60, 0xc04294\nMOV             X1, X23                                                ; +0x64, 0xc04298\nMOV             X0, X22                                                ; +0x68, 0xc0429c\nLDR             W2, [X20,#0x394]                                       ; +0x6c, 0xc042a0\nSTR             W2, [X29,#0x50+var_C]                                  ; +0x70, 0xc042a4\nBL              _ZNSt6__ndk113unordered_mapIi21GameObjectEditorStateNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixEOi; std::unordered_map<int,GameObjectEditorState>::operator[](int &&) ; +0x74, 0xc042a8\nMOV             X1, X20; GameObject *                                  ; +0x78, 0xc042ac\nBL              _ZN21GameObjectEditorState10loadValuesEP10GameObject; GameObjectEditorState::loadValues(GameObject *) ; +0x7c, 0xc042b0\nMOV             X0, X21; this                                          ; +0x80, 0xc042b4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x84, 0xc042b8\nCMP             W19, W0                                                ; +0x88, 0xc042bc\nB.CC            loc_C04280                                             ; +0x8c, 0xc042c0\nLDR             X24, [X24,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x90, 0xc042c4\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x94, 0xc042c8\nLDR             X0, [X24]                                              ; +0x98, 0xc042cc\nCMP             X1, X0                                                 ; +0x9c, 0xc042d0\nB.NE            loc_C042EC                                             ; +0xa0, 0xc042d4\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xa4, 0xc042d8\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0xa8, 0xc042dc\nLDP             X23, X24, [SP,#0x50+var_20]                            ; +0xac, 0xc042e0\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xb0, 0xc042e4\nRET                                                                    ; +0xb4, 0xc042e8\nBL              .__stack_chk_fail                                      ; +0xb8, 0xc042ec", "xrefs": ["GJTransformControl::applyFreeRotation @ 0xbd3900", "EditorUI::updateTransformControl @ 0xc043c4", "<???> @ 0x7de48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}