{"type": "func", "start": 6442474112, "end": 6442474193, "name": "cocos2d::extension::CCControlButton::create", "pseudocode": "// \n// cocos2d::extension::CCControlButton::create from 0x180005a80 to 0x180005ad1 (81 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b4d4\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 12:15:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::extension::CCControlButton *__fastcall cocos2d::extension::CCControlButton::create(\n        struct cocos2d::extension::CCScale9Sprite *a1)\n{\n  cocos2d::extension::CCControlButton *v2; // rbx\n  cocos2d::extension::CCControlButton *v4; // [rsp+38h] [rbp+10h]\n\n  v4 = (cocos2d::extension::CCControlButton *)sub_18001F040(0x238u);\n  v2 = cocos2d::extension::CCControlButton::CCControlButton(v4);\n  (*(void (__fastcall **)(cocos2d::extension::CCControlButton *, struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v2 + 1200LL))(\n    v2,\n    a1);\n  cocos2d::CCObject::autorelease(v2);\n  return v2;\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::create from 0x180005a80 to 0x180005ad1 (81 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b4d4\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 12:15:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180005a80\npush    rdi                                                            ; +0x5, 0x180005a85\nsub     rsp, 20h                                                       ; +0x6, 0x180005a86\nmov     rdi, rcx                                                       ; +0xa, 0x180005a8a\nmov     ecx, 238h; Size                                                ; +0xd, 0x180005a8d\ncall    sub_18001F040                                                  ; +0x12, 0x180005a92\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x180005a97\nmov     rcx, rax; this                                                 ; +0x1c, 0x180005a9c\ncall    ??0CCControlButton@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlButton::CCControlButton(void) ; +0x1f, 0x180005a9f\nmov     rbx, rax                                                       ; +0x24, 0x180005aa4\nmov     rdx, [rax]                                                     ; +0x27, 0x180005aa7\nmov     r8, [rdx+4B0h]                                                 ; +0x2a, 0x180005aaa\nmov     rdx, rdi                                                       ; +0x31, 0x180005ab1\nmov     rcx, rax                                                       ; +0x34, 0x180005ab4\ncall    r8                                                             ; +0x37, 0x180005ab7\nmov     rcx, rbx                                                       ; +0x3a, 0x180005aba\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x3d, 0x180005abd\nmov     rax, rbx                                                       ; +0x43, 0x180005ac3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x46, 0x180005ac6\nadd     rsp, 20h                                                       ; +0x4b, 0x180005acb\npop     rdi                                                            ; +0x4f, 0x180005acf\nretn                                                                   ; +0x50, 0x180005ad0", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004b4d4"], "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"}