{"type": "func", "start": 6442474032, "end": 6442474108, "name": "cocos2d::extension::CCControlButton::initWithBackgroundSprite", "pseudocode": "// \n// cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0x180005a30 to 0x180005a7c (76 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800266d8\n// > <???> @ 0x18002a650\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b4c8\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\nbool __fastcall cocos2d::extension::CCControlButton::initWithBackgroundSprite(\n        cocos2d::extension::CCControlButton *this,\n        struct cocos2d::extension::CCScale9Sprite *a2)\n{\n  struct cocos2d::CCLabelTTF *v4; // rax\n\n  v4 = cocos2d::CCLabelTTF::create(byte_180025968, \"Arial\", 30.0);\n  return (*(bool (__fastcall **)(cocos2d::extension::CCControlButton *, struct cocos2d::CCLabelTTF *, struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)this + 1184LL))(\n           this,\n           v4,\n           a2);\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::initWithBackgroundSprite from 0x180005a30 to 0x180005a7c (76 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800266d8\n; > <???> @ 0x18002a650\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b4c8\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, 0x180005a30\npush    rdi                                                            ; +0x5, 0x180005a35\nsub     rsp, 20h                                                       ; +0x6, 0x180005a36\nmovss   xmm2, cs:dword_18002BC68                                       ; +0xa, 0x180005a3a\nmov     rbx, rdx                                                       ; +0x12, 0x180005a42\nmov     rdi, rcx                                                       ; +0x15, 0x180005a45\nlea     rdx, aArial; \"Arial\"                                           ; +0x18, 0x180005a48\nlea     rcx, byte_180025968                                            ; +0x1f, 0x180005a4f\ncall    cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x26, 0x180005a56\nmov     r8, [rdi]                                                      ; +0x2c, 0x180005a5c\nmov     rcx, rdi                                                       ; +0x2f, 0x180005a5f\nmov     rdx, rax                                                       ; +0x32, 0x180005a62\nmov     r9, [r8+4A0h]                                                  ; +0x35, 0x180005a65\nmov     r8, rbx                                                        ; +0x3c, 0x180005a6c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3f, 0x180005a6f\nadd     rsp, 20h                                                       ; +0x44, 0x180005a74\npop     rdi                                                            ; +0x48, 0x180005a78\njmp     r9                                                             ; +0x49, 0x180005a79", "xrefs": ["<???> @ 0x1800266d8", "<???> @ 0x18002a650", "<???> @ 0x180032408", "<???> @ 0x18004b4c8"], "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"}