{"type": "func", "start": 6443127264, "end": 6443127355, "name": "cocos2d::CCTexture2D::getContentSize", "pseudocode": "// \n// cocos2d::CCTexture2D::getContentSize from 0x1800a51e0 to 0x1800a523b (91 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180104d88\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7bf0\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\nstruct cocos2d::CCSize __fastcall cocos2d::CCTexture2D::getContentSize(__int64 a1, cocos2d::CCSize *a2)\n{\n  cocos2d::CCDirector *v4; // rax\n  cocos2d::CCDirector *v5; // rax\n  float ContentScaleFactor; // xmm0_4\n\n  cocos2d::CCSize::CCSize(a2);\n  v4 = cocos2d::CCDirector::sharedDirector();\n  a2->width = *(float *)(a1 + 84) / cocos2d::CCDirector::getContentScaleFactor(v4);\n  v5 = cocos2d::CCDirector::sharedDirector();\n  ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v5);\n  a2->height = *(float *)(a1 + 88) / ContentScaleFactor;\n  return (struct cocos2d::CCSize)a2;\n}", "assembly": "; \n; cocos2d::CCTexture2D::getContentSize from 0x1800a51e0 to 0x1800a523b (91 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180104d88\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7bf0\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800a51e0\npush    rdi                                                            ; +0x5, 0x1800a51e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800a51e6\nmov     rbx, rcx                                                       ; +0xa, 0x1800a51ea\nmov     rdi, rdx                                                       ; +0xd, 0x1800a51ed\nmov     rcx, rdx; this                                                 ; +0x10, 0x1800a51f0\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x13, 0x1800a51f3\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x1800a51f8\nmov     rcx, rax; this                                                 ; +0x1d, 0x1800a51fd\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x20, 0x1800a5200\nmovss   xmm1, dword ptr [rbx+54h]                                      ; +0x25, 0x1800a5205\ndivss   xmm1, xmm0                                                     ; +0x2a, 0x1800a520a\nmovss   dword ptr [rdi], xmm1                                          ; +0x2e, 0x1800a520e\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x32, 0x1800a5212\nmov     rcx, rax; this                                                 ; +0x37, 0x1800a5217\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x3a, 0x1800a521a\nmovss   xmm1, dword ptr [rbx+58h]                                      ; +0x3f, 0x1800a521f\nmov     rax, rdi                                                       ; +0x44, 0x1800a5224\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x47, 0x1800a5227\ndivss   xmm1, xmm0                                                     ; +0x4c, 0x1800a522c\nmovss   dword ptr [rdi+4], xmm1                                        ; +0x50, 0x1800a5230\nadd     rsp, 20h                                                       ; +0x55, 0x1800a5235\npop     rdi                                                            ; +0x59, 0x1800a5239\nretn                                                                   ; +0x5a, 0x1800a523a", "xrefs": ["<???> @ 0x180104d88", "<???> @ 0x1801438a8", "<???> @ 0x1801b7bf0"], "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"}