{"type": "func", "start": 5368966432, "end": 5368966517, "name": "ExtendedLayer::setPosition", "pseudocode": "// \n// ExtendedLayer::setPosition from 0x14003ed20 to 0x14003ed75 (85 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14052bc10\n// > <???> @ 0x1406c4128\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\nvoid ExtendedLayer::setPosition(ExtendedLayer *a1, const cocos2d::CCPoint *a2)\n{\n  BoomScrollLayerDelegate *m_delegate; // rbx\n  BoomScrollLayerDelegate_vtbl *v5; // rbx\n  __int64 v6; // rax\n  cocos2d::CCPoint v7; // [rsp+30h] [rbp+8h] BYREF\n\n  cocos2d::CCNode::setPosition(a1, a2);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n  {\n    v5 = m_delegate->__vftable;\n    v6 = cocos2d::CCPoint::CCPoint(&v7, a2);\n    ((void (__fastcall *)(BoomScrollLayerDelegate *, __int64))v5->scrollLayerMoved)(a1->m_delegate, v6);\n  }\n}", "assembly": "; \n; ExtendedLayer::setPosition from 0x14003ed20 to 0x14003ed75 (85 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14052bc10\n; > <???> @ 0x1406c4128\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_8], rbx                                               ; +0x0, 0x14003ed20\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14003ed25\npush    rdi                                                            ; +0xa, 0x14003ed2a\nsub     rsp, 20h                                                       ; +0xb, 0x14003ed2b\nmov     rsi, rdx                                                       ; +0xf, 0x14003ed2f\nmov     rdi, rcx                                                       ; +0x12, 0x14003ed32\ncall    cs:__imp_?setPosition@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setPosition(cocos2d::CCPoint const &) ; +0x15, 0x14003ed35\nmov     rbx, [rdi+198h]                                                ; +0x1b, 0x14003ed3b\ntest    rbx, rbx                                                       ; +0x22, 0x14003ed42\njz      short loc_14003ED65                                            ; +0x25, 0x14003ed45\nmov     rbx, [rbx]                                                     ; +0x27, 0x14003ed47\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x2a, 0x14003ed4a\nmov     rdx, rsi                                                       ; +0x2f, 0x14003ed4f\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x32, 0x14003ed52\nmov     rcx, [rdi+198h]                                                ; +0x38, 0x14003ed58\nmov     rdx, rax                                                       ; +0x3f, 0x14003ed5f\ncall    qword ptr [rbx+10h]                                            ; +0x42, 0x14003ed62\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x45, 0x14003ed65\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x4a, 0x14003ed6a\nadd     rsp, 20h                                                       ; +0x4f, 0x14003ed6f\npop     rdi                                                            ; +0x53, 0x14003ed73\nretn                                                                   ; +0x54, 0x14003ed74", "xrefs": ["<???> @ 0x14052bc10", "<???> @ 0x1406c4128"], "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"}