{"type": "func", "start": 4723724, "end": 4723794, "name": "EditorUI::getButton", "pseudocode": "// \n// EditorUI::getButton from 0x48140c to 0x481452 (70 bytes)\n// \n// 0 xrefs:\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:49:22 +0000\n// \n\nint __fastcall EditorUI::getButton(int a1, ButtonSprite *this, char *a3, int a4, int a5, int a6)\n{\n  ButtonSprite *v7; // r0\n  int v8; // r5\n  int varg_r3; // [sp+1Ch] [bp+10h]\n\n  v7 = ButtonSprite::create(this, a3, 0, 1.0, COERCE_FLOAT(1), (bool)this);\n  v8 = CCMenuItemSpriteExtra::create((int)v7, 0, a1, varg_r3, a5);\n  if ( a6 )\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)a6 + 228))(a6, v8);\n  return v8;\n}", "assembly": "; \n; EditorUI::getButton from 0x48140c to 0x481452 (70 bytes)\n; \n; 0 xrefs:\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:49:22 +0000\n; \nSUB             SP, SP, #8                                             ; +0x0, 0x48140c\nPUSH            {R0-R2,R4,R5,LR}                                       ; +0x2, 0x48140e\nMOV             R5, R0                                                 ; +0x4, 0x481410\nSTR             R3, [SP,#0xC+varg_r3]                                  ; +0x6, 0x481412\nMOV             R0, R1; this                                           ; +0x8, 0x481414\nMOVS            R3, #1                                                 ; +0xa, 0x481416\nMOV             R1, R2; char *                                         ; +0xc, 0x481418\nSTR             R3, [SP,#0xC+var_C]; float                             ; +0xe, 0x48141a\nMOVS            R2, #0; int                                            ; +0x10, 0x48141c\nMOV.W           R3, #0x3F800000; int                                   ; +0x12, 0x48141e\nLDR             R4, [SP,#0xC+arg_4]                                    ; +0x16, 0x481422\nBL              _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x18, 0x481424\nLDR             R3, [SP,#0xC+arg_0]                                    ; +0x1c, 0x481428\nMOV             R2, R5                                                 ; +0x1e, 0x48142a\nMOVS            R1, #0                                                 ; +0x20, 0x48142c\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x22, 0x48142e\nLDR             R3, [SP,#0xC+varg_r3]                                  ; +0x24, 0x481430\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x26, 0x481432\nMOV             R5, R0                                                 ; +0x2a, 0x481436\nCBZ             R4, loc_481446                                         ; +0x2c, 0x481438\nLDR             R3, [R4]                                               ; +0x2e, 0x48143a\nMOV             R0, R4                                                 ; +0x30, 0x48143c\nMOV             R1, R5                                                 ; +0x32, 0x48143e\nLDR.W           R3, [R3,#0xE4]                                         ; +0x34, 0x481440\nBLX             R3                                                     ; +0x38, 0x481444\nMOV             R0, R5                                                 ; +0x3a, 0x481446\nADD             SP, SP, #0xC                                           ; +0x3c, 0x481448\nPOP.W           {R4,R5,LR}                                             ; +0x3e, 0x48144a\nADD             SP, SP, #8                                             ; +0x42, 0x48144e\nBX              LR                                                     ; +0x44, 0x481450", "xrefs": [], "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"}