{"type": "func", "start": 5368981584, "end": 5368981652, "name": "ButtonSprite::dButtonSprite", "pseudocode": "// \n// ButtonSprite::dButtonSprite from 0x140042850 to 0x140042894 (68 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140706b90\n// > <???> @ 0x14090f638\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:30 +0000\n// \n\ncocos2d::CCSprite *__fastcall ButtonSprite::dButtonSprite(cocos2d::CCSprite *Block, char a2)\n{\n  sub_14003D310((__int64)Block + 680);\n  cocos2d::CCSprite::~CCSprite(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; ButtonSprite::dButtonSprite from 0x140042850 to 0x140042894 (68 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140706b90\n; > <???> @ 0x14090f638\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:30 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140042850\npush    rdi                                                            ; +0x5, 0x140042855\nsub     rsp, 20h                                                       ; +0x6, 0x140042856\nmov     rdi, rcx                                                       ; +0xa, 0x14004285a\nmov     ebx, edx                                                       ; +0xd, 0x14004285d\nadd     rcx, 2A8h                                                      ; +0xf, 0x14004285f\ncall    sub_14003D310                                                  ; +0x16, 0x140042866\nmov     rcx, rdi                                                       ; +0x1b, 0x14004286b\ncall    cs:__imp_??1CCSprite@cocos2d@@UEAA@XZ; cocos2d::CCSprite::~CCSprite(void) ; +0x1e, 0x14004286e\ntest    bl, 1                                                          ; +0x24, 0x140042874\njz      short loc_140042886                                            ; +0x27, 0x140042877\nmov     edx, 2C8h                                                      ; +0x29, 0x140042879\nmov     rcx, rdi; Block                                                ; +0x2e, 0x14004287e\ncall    j_j_free                                                       ; +0x31, 0x140042881\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x36, 0x140042886\nmov     rax, rdi                                                       ; +0x3b, 0x14004288b\nadd     rsp, 20h                                                       ; +0x3e, 0x14004288e\npop     rdi                                                            ; +0x42, 0x140042892\nretn                                                                   ; +0x43, 0x140042893", "xrefs": ["<???> @ 0x140706b90", "<???> @ 0x14090f638"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}