{"type": "func", "start": 8151276, "end": 8151400, "name": "EditorUI::editObjectOptions", "pseudocode": "// \n// EditorUI::editObjectOptions from 0x7c60ec to 0x7c6168 (124 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0xbd84dc\n// > <???> @ 0xde520\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 12:54:08 +0000\n// \n\n__int64 __fastcall EditorUI::editObjectOptions(EditorUI *this, cocos2d::CCObject *a2)\n{\n  EditorBuildStats *v3; // x0\n  EditorSFXManager *v4; // x0\n  EditorSFXManager *v5; // x0\n  cocos2d::CCArray *v6; // x2\n  __int64 v7; // x0\n  __int64 result; // x0\n\n  if ( *((_QWORD *)this + 187) || (result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)), (_DWORD)result) )\n  {\n    v3 = (EditorBuildStats *)(*((_QWORD *)this + 180) + 14704LL);\n    *((_DWORD *)v3 + 4) = *(_DWORD *)(*((_QWORD *)this + 180) + 14720LL) + 1;\n    v4 = (EditorSFXManager *)EditorBuildStats::noteAction(v3);\n    v5 = (EditorSFXManager *)EditorSFXManager::sharedState(v4);\n    EditorSFXManager::playAction(v5, 108, 107);\n    v7 = SetupObjectOptionsPopup::create(*((SetupObjectOptionsPopup **)this + 187), *((GameObject **)this + 112), v6);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::editObjectOptions from 0x7c60ec to 0x7c6168 (124 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0xbd84dc\n; > <???> @ 0xde520\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 12:54:08 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7c60ec\nMOV             X29, SP                                                ; +0x4, 0x7c60f0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7c60f4\nMOV             X19, X0                                                ; +0xc, 0x7c60f8\nLDR             X0, [X0,#0x5D8]                                        ; +0x10, 0x7c60fc\nCBZ             X0, loc_7C6158                                         ; +0x14, 0x7c6100\nLDR             X1, [X19,#0x5A0]                                       ; +0x18, 0x7c6104\nADD             X1, X1, #3,LSL#12                                      ; +0x1c, 0x7c6108\nADD             X1, X1, #0x970                                         ; +0x20, 0x7c610c\nMOV             X0, X1; this                                           ; +0x24, 0x7c6110\nLDR             W2, [X1,#0x10]                                         ; +0x28, 0x7c6114\nADD             W2, W2, #1                                             ; +0x2c, 0x7c6118\nSTR             W2, [X1,#0x10]                                         ; +0x30, 0x7c611c\nBL              _ZN16EditorBuildStats10noteActionEv; EditorBuildStats::noteAction(void) ; +0x34, 0x7c6120\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x38, 0x7c6124\nMOV             W1, #0x6C ; 'l'; int                                   ; +0x3c, 0x7c6128\nMOV             W2, #0x6B ; 'k'; int                                   ; +0x40, 0x7c612c\nBL              _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x44, 0x7c6130\nLDR             X1, [X19,#0x380]; GameObject *                         ; +0x48, 0x7c6134\nLDR             X0, [X19,#0x5D8]; this                                 ; +0x4c, 0x7c6138\nBL              _ZN23SetupObjectOptionsPopup6createEP10GameObjectPN7cocos2d7CCArrayE; SetupObjectOptionsPopup::create(GameObject *,cocos2d::CCArray *) ; +0x50, 0x7c613c\nLDR             X1, [X0]                                               ; +0x54, 0x7c6140\nLDR             X1, [X1,#0x520]                                        ; +0x58, 0x7c6144\nBLR             X1                                                     ; +0x5c, 0x7c6148\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x60, 0x7c614c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x64, 0x7c6150\nRET                                                                    ; +0x68, 0x7c6154\nLDR             X0, [X19,#0x380]; this                                 ; +0x6c, 0x7c6158\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x70, 0x7c615c\nCBZ             W0, loc_7C614C                                         ; +0x74, 0x7c6160\nB               loc_7C6104                                             ; +0x78, 0x7c6164", "xrefs": ["EditorUI::handleEditorAction @ 0xbd84dc", "<???> @ 0xde520"], "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"}