{"type": "func", "start": 4295314032, "end": 4295314264, "name": "CCMenuItemSpriteExtra::CCMenuItemSpriteExtra", "pseudocode": "// \n// CCMenuItemSpriteExtra::CCMenuItemSpriteExtra from 0x100054a70 to 0x100054b58 (232 bytes)\n// \n// 6 xrefs:\n// > EditorUI::getCreateMenuItemButton @ 0x10002ed51\n// > CreateMenuItem::create @ 0x10002ee6e\n// > EditorUI::menuItemFromObjectString @ 0x100031b57\n// > EditorUI::getCreateBtn @ 0x100033a7b\n// > CCMenuItemSpriteExtra::create @ 0x100276bbe\n// > InfoAlertButton::create @ 0x100575b78\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\nCCMenuItemSpriteExtra *__fastcall CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(CCMenuItemSpriteExtra *a1)\n{\n  CCMenuItemSpriteExtra *result; // rax\n\n  cocos2d::CCNodeRGBA::CCNodeRGBA(a1);\n  *(_WORD *)&a1->m_bSelected = 0;\n  *(_OWORD *)&a1->m_pListener = 0;\n  *(_OWORD *)&a1->m_pfnSelector.adj = 0;\n  *(_OWORD *)&a1->m_pNormalImage = 0;\n  a1->m_pDisabledImage = nullptr;\n  a1->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CCMenuItemSpriteExtra_vtbl *)off_1008EF288;\n  a1->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008EF6F0;\n  _mm_storel_ps((double *)&a1->m_scaleMultiplier, (__m128)0x3F800000u);\n  *(_WORD *)&a1->m_animationEnabled = 0;\n  a1->m_volume = 1.0;\n  *(_OWORD *)&a1->m_activateSound.m_data.m_short.sizex2 = 0;\n  *(_OWORD *)&a1->m_activateSound.m_data.m_long.longStorage = 0;\n  *(_OWORD *)&a1->m_selectSound.m_data.m_long.size = 0;\n  a1->m_colorDip = 0.78431374;\n  sub_10028CC30(&a1->m_offset);\n  *(_QWORD *)&a1->m_duration = 0x3ECCCCCD3E99999ALL;\n  a1->m_animationType = 0;\n  result = (CCMenuItemSpriteExtra *)sub_10028CC30(&a1->m_startPosition);\n  a1->m_iconType = Cube;\n  return result;\n}", "assembly": "; \n; CCMenuItemSpriteExtra::CCMenuItemSpriteExtra from 0x100054a70 to 0x100054b58 (232 bytes)\n; \n; 6 xrefs:\n; > EditorUI::getCreateMenuItemButton @ 0x10002ed51\n; > CreateMenuItem::create @ 0x10002ee6e\n; > EditorUI::menuItemFromObjectString @ 0x100031b57\n; > EditorUI::getCreateBtn @ 0x100033a7b\n; > CCMenuItemSpriteExtra::create @ 0x100276bbe\n; > InfoAlertButton::create @ 0x100575b78\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\npush    rbp                                                            ; +0x0, 0x100054a70\nmov     rbp, rsp                                                       ; +0x1, 0x100054a71\npush    r15                                                            ; +0x4, 0x100054a74\npush    r14                                                            ; +0x6, 0x100054a76\npush    rbx                                                            ; +0x8, 0x100054a78\npush    rax                                                            ; +0x9, 0x100054a79\nmov     rbx, rdi                                                       ; +0xa, 0x100054a7a\ncall    cocos2d__CCNodeRGBA__CCNodeRGBA                                ; +0xd, 0x100054a7d\nmov     word ptr [rbx+152h], 0                                         ; +0x12, 0x100054a82\nxorps   xmm0, xmm0                                                     ; +0x1b, 0x100054a8b\nmovups  xmmword ptr [rbx+158h], xmm0                                   ; +0x1e, 0x100054a8e\nmovups  xmmword ptr [rbx+168h], xmm0                                   ; +0x25, 0x100054a95\nmovups  xmmword ptr [rbx+178h], xmm0                                   ; +0x2c, 0x100054a9c\nmov     qword ptr [rbx+188h], 0                                        ; +0x33, 0x100054aa3\nlea     rax, _ZTV21CCMenuItemSpriteExtra; `vtable for'CCMenuItemSpriteExtra ; +0x3e, 0x100054aae\nlea     rcx, [rax+10h]                                                 ; +0x45, 0x100054ab5\nmov     [rbx], rcx                                                     ; +0x49, 0x100054ab9\nadd     rax, 478h                                                      ; +0x4c, 0x100054abc\nmov     [rbx+140h], rax                                                ; +0x52, 0x100054ac2\nmovss   xmm1, cs:alpha                                                 ; +0x59, 0x100054ac9\nmovlps  qword ptr [rbx+190h], xmm1                                     ; +0x61, 0x100054ad1\nmov     word ptr [rbx+198h], 0                                         ; +0x68, 0x100054ad8\nmov     dword ptr [rbx+19Ch], 3F800000h                                ; +0x71, 0x100054ae1\nlea     r15, [rbx+1A0h]                                                ; +0x7b, 0x100054aeb\nmovups  xmmword ptr [rbx+1A0h], xmm0                                   ; +0x82, 0x100054af2\nmovups  xmmword ptr [rbx+1B0h], xmm0                                   ; +0x89, 0x100054af9\nmovups  xmmword ptr [rbx+1C0h], xmm0                                   ; +0x90, 0x100054b00\nmov     dword ptr [rbx+1D0h], 3F48C8C9h                                ; +0x97, 0x100054b07\nlea     rdi, [rbx+1D4h]                                                ; +0xa1, 0x100054b11\ncall    sub_10028CC30                                                  ; +0xa8, 0x100054b18\nmovsd   xmm0, cs:qword_100815510                                       ; +0xad, 0x100054b1d\nmovsd   qword ptr [rbx+1DCh], xmm0                                     ; +0xb5, 0x100054b25\nmov     dword ptr [rbx+1E4h], 0                                        ; +0xbd, 0x100054b2d\nlea     rdi, [rbx+1E8h]                                                ; +0xc7, 0x100054b37\ncall    sub_10028CC30                                                  ; +0xce, 0x100054b3e\nmov     dword ptr [rbx+1F0h], 0                                        ; +0xd3, 0x100054b43\nadd     rsp, 8                                                         ; +0xdd, 0x100054b4d\npop     rbx                                                            ; +0xe1, 0x100054b51\npop     r14                                                            ; +0xe2, 0x100054b52\npop     r15                                                            ; +0xe4, 0x100054b54\npop     rbp                                                            ; +0xe6, 0x100054b56\nretn                                                                   ; +0xe7, 0x100054b57", "xrefs": ["EditorUI::getCreateMenuItemButton @ 0x10002ed51", "CreateMenuItem::create @ 0x10002ee6e", "EditorUI::menuItemFromObjectString @ 0x100031b57", "EditorUI::getCreateBtn @ 0x100033a7b", "CCMenuItemSpriteExtra::create @ 0x100276bbe", "InfoAlertButton::create @ 0x100575b78"], "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"}