{"type": "func", "start": 4295359296, "end": 4295359412, "name": "ButtonSprite::ButtonSprite", "pseudocode": "// \n// ButtonSprite::ButtonSprite from 0x10005fb40 to 0x10005fbb4 (116 bytes)\n// \n// 2 xrefs:\n// > ButtonSprite::create @ 0x10005ec04\n// > ButtonSprite::create_1 @ 0x10005f31c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nButtonSprite *__fastcall ButtonSprite::ButtonSprite(ButtonSprite *a1)\n{\n  __int64 v2; // x0\n\n  v2 = cocos2d::CCSprite::CCSprite();\n  *(_QWORD *)v2 = off_100774E90;\n  *(_QWORD *)(v2 + 320) = off_100775368;\n  *(_QWORD *)(v2 + 344) = off_1007753E8;\n  *(_OWORD *)(v2 + 596) = 0u;\n  *(_QWORD *)(v2 + 609) = 0;\n  *(_OWORD *)(v2 + 624) = 0u;\n  *(_OWORD *)(v2 + 640) = 0u;\n  sub_1000229B0((_QWORD *)(v2 + 656));\n  sub_1000229B0(&a1->m_spritePosition);\n  a1->m_caption.m_data.m_long.longStorage = nullptr;\n  *(_OWORD *)&a1->m_caption.m_data.m_short.sizex2 = 0u;\n  return a1;\n}", "assembly": "; \n; ButtonSprite::ButtonSprite from 0x10005fb40 to 0x10005fbb4 (116 bytes)\n; \n; 2 xrefs:\n; > ButtonSprite::create @ 0x10005ec04\n; > ButtonSprite::create_1 @ 0x10005f31c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10005fb40\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10005fb44\nADD             X29, SP, #0x10                                         ; +0x8, 0x10005fb48\nMOV             X19, X0                                                ; +0xc, 0x10005fb4c\nBL              cocos2d__CCSprite__CCSprite                            ; +0x10, 0x10005fb50\nADRL            X8, unk_100774E80                                      ; +0x14, 0x10005fb54\nADD             X9, X8, #(off_100774E90 - 0x100774E80)                 ; +0x1c, 0x10005fb5c\nSTR             X9, [X0]                                               ; +0x20, 0x10005fb60\nADD             X9, X8, #(off_100775368 - 0x100774E80)                 ; +0x24, 0x10005fb64\nSTR             X9, [X0,#0x140]                                        ; +0x28, 0x10005fb68\nADD             X8, X8, #(off_1007753E8 - 0x100774E80)                 ; +0x2c, 0x10005fb6c\nSTR             X8, [X0,#0x158]                                        ; +0x30, 0x10005fb70\nADD             X8, X0, #0x254                                         ; +0x34, 0x10005fb74\nMOVI            V0.16B, #0                                             ; +0x38, 0x10005fb78\nSTR             Q0, [X8]                                               ; +0x3c, 0x10005fb7c\nSTUR            XZR, [X8,#0xD]                                         ; +0x40, 0x10005fb80\nSTP             Q0, Q0, [X0,#0x270]                                    ; +0x44, 0x10005fb84\nADD             X0, X0, #0x290                                         ; +0x48, 0x10005fb88\nBL              sub_1000229B0                                          ; +0x4c, 0x10005fb8c\nADD             X0, X19, #0x298                                        ; +0x50, 0x10005fb90\nBL              sub_1000229B0                                          ; +0x54, 0x10005fb94\nSTR             XZR, [X19,#0x2B0]                                      ; +0x58, 0x10005fb98\nMOVI            V0.16B, #0                                             ; +0x5c, 0x10005fb9c\nSTR             Q0, [X19,#0x2A0]                                       ; +0x60, 0x10005fba0\nMOV             X0, X19                                                ; +0x64, 0x10005fba4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x10005fba8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x10005fbac\nRET                                                                    ; +0x70, 0x10005fbb0", "xrefs": ["ButtonSprite::create @ 0x10005ec04", "ButtonSprite::create_1 @ 0x10005f31c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}