{"type": "func", "start": 5368981248, "end": 5368981329, "name": "ExtendedLayer::setPosition", "pseudocode": "// \n// ExtendedLayer::setPosition from 0x140042700 to 0x140042751 (81 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140706758\n// > <???> @ 0x14090f620\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:25:30 +0000\n// \n\nvoid __fastcall ExtendedLayer::setPosition(cocos2d::CCNode *a1, const struct cocos2d::CCPoint *a2)\n{\n  __int64 *v4; // rdi\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  char v7; // [rsp+30h] [rbp+8h] BYREF\n\n  cocos2d::CCNode::setPosition(a1, a2);\n  v4 = *((__int64 **)a1 + 51);\n  if ( v4 )\n  {\n    v5 = *v4;\n    v6 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, a2);\n    (*(void (__fastcall **)(__int64 *, __int64))(v5 + 16))(v4, v6);\n  }\n}", "assembly": "; \n; ExtendedLayer::setPosition from 0x140042700 to 0x140042751 (81 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140706758\n; > <???> @ 0x14090f620\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:25:30 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140042700\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140042705\npush    rdi                                                            ; +0xa, 0x14004270a\nsub     rsp, 20h                                                       ; +0xb, 0x14004270b\nmov     rsi, rdx                                                       ; +0xf, 0x14004270f\nmov     rbx, rcx                                                       ; +0x12, 0x140042712\ncall    cs:__imp_?setPosition@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setPosition(cocos2d::CCPoint const &) ; +0x15, 0x140042715\nmov     rdi, [rbx+198h]                                                ; +0x1b, 0x14004271b\ntest    rdi, rdi                                                       ; +0x22, 0x140042722\njz      short loc_140042741                                            ; +0x25, 0x140042725\nmov     rbx, [rdi]                                                     ; +0x27, 0x140042727\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x2a, 0x14004272a\nmov     rdx, rsi                                                       ; +0x2f, 0x14004272f\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x32, 0x140042732\nmov     rdx, rax                                                       ; +0x38, 0x140042738\nmov     rcx, rdi                                                       ; +0x3b, 0x14004273b\ncall    qword ptr [rbx+10h]                                            ; +0x3e, 0x14004273e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x41, 0x140042741\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x46, 0x140042746\nadd     rsp, 20h                                                       ; +0x4b, 0x14004274b\npop     rdi                                                            ; +0x4f, 0x14004274f\nretn                                                                   ; +0x50, 0x140042750", "xrefs": ["<???> @ 0x140706758", "<???> @ 0x14090f620"], "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"}