{"type": "func", "start": 6442832880, "end": 6442832956, "name": "cocos2d::CCMenuItem::rect", "pseudocode": "// \n// cocos2d::CCMenuItem::rect from 0x18005d3f0 to 0x18005d43c (76 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCMenu::itemForTouch @ 0x18005b774\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd09c\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:21:49 +0000\n// \n\ncocos2d::CCRect *__fastcall cocos2d::CCMenuItem::rect(float *a1, cocos2d::CCRect *a2)\n{\n  cocos2d::CCRect::CCRect(a2, a1[19] - (float)(a1[27] * a1[25]), a1[20] - (float)(a1[28] * a1[26]), a1[27], a1[28]);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCMenuItem::rect from 0x18005d3f0 to 0x18005d43c (76 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCMenu::itemForTouch @ 0x18005b774\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd09c\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:21:49 +0000\n; \npush    rbx                                                            ; +0x0, 0x18005d3f0\nsub     rsp, 30h                                                       ; +0x2, 0x18005d3f2\nmovss   xmm5, dword ptr [rcx+70h]                                      ; +0x6, 0x18005d3f6\nmov     rbx, rdx                                                       ; +0xb, 0x18005d3fb\nmovss   xmm3, dword ptr [rcx+6Ch]; float                               ; +0xe, 0x18005d3fe\nmovaps  xmm0, xmm5                                                     ; +0x13, 0x18005d403\nmulss   xmm0, dword ptr [rcx+68h]                                      ; +0x16, 0x18005d406\nmovaps  xmm4, xmm3                                                     ; +0x1b, 0x18005d40b\nmulss   xmm4, dword ptr [rcx+64h]                                      ; +0x1e, 0x18005d40e\nmovss   xmm2, dword ptr [rcx+50h]                                      ; +0x23, 0x18005d413\nmovss   xmm1, dword ptr [rcx+4Ch]                                      ; +0x28, 0x18005d418\nsubss   xmm2, xmm0; float                                              ; +0x2d, 0x18005d41d\nsubss   xmm1, xmm4; float                                              ; +0x31, 0x18005d421\nmovss   [rsp+38h+var_18], xmm5; float                                  ; +0x35, 0x18005d425\nmov     rcx, rdx; this                                                 ; +0x3b, 0x18005d42b\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x3e, 0x18005d42e\nmov     rax, rbx                                                       ; +0x43, 0x18005d433\nadd     rsp, 30h                                                       ; +0x46, 0x18005d436\npop     rbx                                                            ; +0x4a, 0x18005d43a\nretn                                                                   ; +0x4b, 0x18005d43b", "xrefs": ["cocos2d::CCMenu::itemForTouch @ 0x18005b774", "<???> @ 0x18014cf68", "<???> @ 0x1801bd09c"], "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"}