{"type": "func", "start": 6443053936, "end": 6443054064, "name": "cocos2d::CCSpriteFrame::setOffset", "pseudocode": "// \n// cocos2d::CCSpriteFrame::setOffset from 0x180093370 to 0x1800933f0 (128 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0540\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:22:08 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteFrame::setOffset(cocos2d::CCSpriteFrame *this, const struct cocos2d::CCPoint *a2)\n{\n  float v3; // xmm6_4\n  cocos2d::CCDirector *v4; // rax\n  float v5; // xmm7_4\n  float v6; // xmm6_4\n  cocos2d::CCDirector *v7; // rax\n  float ContentScaleFactor; // xmm0_4\n  float *v9; // rax\n  float v10; // [rsp+50h] [rbp+8h] BYREF\n\n  cocos2d::CCSize::operator=((_DWORD *)this + 14, a2);\n  v3 = *((float *)this + 15);\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = cocos2d::CCDirector::getContentScaleFactor(v4) * v3;\n  v6 = *((float *)this + 14);\n  v7 = cocos2d::CCDirector::sharedDirector();\n  ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v7);\n  v9 = kmVec2Fill(&v10, ContentScaleFactor * v6, v5);\n  cocos2d::CCSize::operator=((_DWORD *)this + 27, v9);\n}", "assembly": "; \n; cocos2d::CCSpriteFrame::setOffset from 0x180093370 to 0x1800933f0 (128 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0540\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:22:08 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180093370\npush    rdi                                                            ; +0x5, 0x180093375\nsub     rsp, 40h                                                       ; +0x6, 0x180093376\nmov     rdi, rcx                                                       ; +0xa, 0x18009337a\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xd, 0x18009337d\nadd     rcx, 38h ; '8'                                                 ; +0x12, 0x180093382\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x16, 0x180093386\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x1b, 0x18009338b\nmovss   xmm6, dword ptr [rdi+3Ch]                                      ; +0x20, 0x180093390\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x25, 0x180093395\nmov     rcx, rax; this                                                 ; +0x2a, 0x18009339a\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x2d, 0x18009339d\nmovaps  xmm7, xmm0                                                     ; +0x32, 0x1800933a2\nmulss   xmm7, xmm6                                                     ; +0x35, 0x1800933a5\nmovss   xmm6, dword ptr [rdi+38h]                                      ; +0x39, 0x1800933a9\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3e, 0x1800933ae\nmov     rcx, rax; this                                                 ; +0x43, 0x1800933b3\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x46, 0x1800933b6\nmulss   xmm0, xmm6                                                     ; +0x4b, 0x1800933bb\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x4f, 0x1800933bf\nmovaps  xmm2, xmm7                                                     ; +0x54, 0x1800933c4\nmovaps  xmm1, xmm0                                                     ; +0x57, 0x1800933c7\ncall    kmVec2Fill                                                     ; +0x5a, 0x1800933ca\nmov     rdx, rax                                                       ; +0x5f, 0x1800933cf\nlea     rcx, [rdi+6Ch]                                                 ; +0x62, 0x1800933d2\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x66, 0x1800933d6\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x6b, 0x1800933db\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x70, 0x1800933e0\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x75, 0x1800933e5\nadd     rsp, 40h                                                       ; +0x7a, 0x1800933ea\npop     rdi                                                            ; +0x7e, 0x1800933ee\nretn                                                                   ; +0x7f, 0x1800933ef", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c0540"], "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"}