{"type": "func", "start": 8129692, "end": 8129820, "name": "EditorUI::getButton", "pseudocode": "// \n// EditorUI::getButton from 0x7c0c9c to 0x7c0d1c (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xdd500\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:06 +0000\n// \n\n__int64 __fastcall EditorUI::getButton(\n        __int64 a1,\n        ButtonSprite *this,\n        char *a3,\n        __int64 a4,\n        __int64 a5,\n        __int64 a6,\n        const char *a7)\n{\n  __int64 v10; // x0\n  __int64 v11; // x19\n\n  v10 = ButtonSprite::create(this, (const char *)(unsigned int)a3, 0, 1, 1.0, a5, a6, a7);\n  v11 = CCMenuItemSpriteExtra::create(v10, 0, a1, a4, a5);\n  if ( a6 )\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a6 + 456LL))(a6, v11);\n  return v11;\n}", "assembly": "; \n; EditorUI::getButton from 0x7c0c9c to 0x7c0d1c (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xdd500\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:06 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x7c0c9c\nFMOV            S0, #1.0; float                                        ; +0x4, 0x7c0ca0\nMOV             X29, SP                                                ; +0x8, 0x7c0ca4\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x7c0ca8\nMOV             X19, X0                                                ; +0x10, 0x7c0cac\nMOV             X20, X3                                                ; +0x14, 0x7c0cb0\nMOV             X0, X1; this                                           ; +0x18, 0x7c0cb4\nMOV             W3, #1; int                                            ; +0x1c, 0x7c0cb8\nMOV             W1, W2; char *                                         ; +0x20, 0x7c0cbc\nMOV             W2, #0; int                                            ; +0x24, 0x7c0cc0\nSTR             X5, [X29,#0x40+var_8]                                  ; +0x28, 0x7c0cc4\nSTR             X21, [SP,#0x40+var_20]                                 ; +0x2c, 0x7c0cc8\nMOV             X21, X4                                                ; +0x30, 0x7c0ccc\nBL              _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x34, 0x7c0cd0\nMOV             X2, X19                                                ; +0x38, 0x7c0cd4\nMOV             X1, #0                                                 ; +0x3c, 0x7c0cd8\nMOV             X3, X20                                                ; +0x40, 0x7c0cdc\nMOV             X4, X21                                                ; +0x44, 0x7c0ce0\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x48, 0x7c0ce4\nMOV             X19, X0                                                ; +0x4c, 0x7c0ce8\nLDR             X5, [X29,#0x40+var_8]                                  ; +0x50, 0x7c0cec\nCBZ             X5, loc_7C0D08                                         ; +0x54, 0x7c0cf0\nLDR             X2, [X5]                                               ; +0x58, 0x7c0cf4\nMOV             X0, X5                                                 ; +0x5c, 0x7c0cf8\nMOV             X1, X19                                                ; +0x60, 0x7c0cfc\nLDR             X2, [X2,#0x1C8]                                        ; +0x64, 0x7c0d00\nBLR             X2                                                     ; +0x68, 0x7c0d04\nMOV             X0, X19                                                ; +0x6c, 0x7c0d08\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x70, 0x7c0d0c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x74, 0x7c0d10\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x78, 0x7c0d14\nRET                                                                    ; +0x7c, 0x7c0d18", "xrefs": ["<???> @ 0xdd500"], "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"}