{"type": "func", "start": 5370348880, "end": 5370349028, "name": "GameObject::setStartPos", "pseudocode": "// \n// GameObject::setStartPos from 0x140190550 to 0x1401905e4 (148 bytes)\n// \n// 48 xrefs:\n// > TeleportPortalObject::setStartPos @ 0x1404b232e\n// > TeleportPortalObject::setStartPos @ 0x1404b238e\n// > <???> @ 0x140556860\n// > <???> @ 0x140556fd0\n// > <???> @ 0x14055e008\n// > <???> @ 0x14055e688\n// > <???> @ 0x1405c8720\n// > <???> @ 0x14060d8b0\n// > <???> @ 0x14060e200\n// > <???> @ 0x14060e920\n// > <???> @ 0x14060f158\n// > <???> @ 0x14060f800\n// > <???> @ 0x14060fed0\n// > <???> @ 0x140610588\n// > <???> @ 0x140610cd0\n// > <???> @ 0x140611c68\n// > <???> @ 0x140612450\n// > <???> @ 0x140612af8\n// > <???> @ 0x1406131a0\n// > <???> @ 0x140613910\n// > <???> @ 0x140613fb8\n// > <???> @ 0x1406147a0\n// > <???> @ 0x140614fd8\n// > <???> @ 0x140615720\n// > <???> @ 0x140615dc8\n// > <???> @ 0x140616510\n// > <???> @ 0x140616cd0\n// > <???> @ 0x140617378\n// > <???> @ 0x140617a20\n// > <???> @ 0x140618190\n// > <???> @ 0x140618838\n// > <???> @ 0x140618f80\n// > <???> @ 0x140619a20\n// > <???> @ 0x14061a0c8\n// > <???> @ 0x14061a770\n// > <???> @ 0x14061ae90\n// > <???> @ 0x14061b538\n// > <???> @ 0x14061bc80\n// > <???> @ 0x14061c418\n// > <???> @ 0x14061cac0\n// > <???> @ 0x14061d168\n// > <???> @ 0x14061d810\n// > <???> @ 0x14061deb8\n// > <???> @ 0x14061e560\n// > <???> @ 0x14061ec08\n// > <???> @ 0x14061f418\n// > <???> @ 0x14061fbb0\n// > <???> @ 0x1406cb8f8\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 GameObject::setStartPos(GameObject *a1, cocos2d::CCPoint a2)\n{\n  if ( !cocos2d::CCPoint::equals(&a1->m_startPosition) )\n  {\n    *(_WORD *)&a1->m_isObjectRectDirty = 257;\n    a1->m_isDirty = 1;\n  }\n  ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&a1->m_startPosition, a2);\n  a1->m_positionX = **(float **)&a2;\n  a1->m_positionY = *(float *)(*(_QWORD *)&a2 + 4LL);\n  ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&a1->m_lastPosition, a2);\n  a1->setPosition_0(a1, (const cocos2d::CCPoint *)a2);\n}", "assembly": "; \n; GameObject::setStartPos from 0x140190550 to 0x1401905e4 (148 bytes)\n; \n; 48 xrefs:\n; > TeleportPortalObject::setStartPos @ 0x1404b232e\n; > TeleportPortalObject::setStartPos @ 0x1404b238e\n; > <???> @ 0x140556860\n; > <???> @ 0x140556fd0\n; > <???> @ 0x14055e008\n; > <???> @ 0x14055e688\n; > <???> @ 0x1405c8720\n; > <???> @ 0x14060d8b0\n; > <???> @ 0x14060e200\n; > <???> @ 0x14060e920\n; > <???> @ 0x14060f158\n; > <???> @ 0x14060f800\n; > <???> @ 0x14060fed0\n; > <???> @ 0x140610588\n; > <???> @ 0x140610cd0\n; > <???> @ 0x140611c68\n; > <???> @ 0x140612450\n; > <???> @ 0x140612af8\n; > <???> @ 0x1406131a0\n; > <???> @ 0x140613910\n; > <???> @ 0x140613fb8\n; > <???> @ 0x1406147a0\n; > <???> @ 0x140614fd8\n; > <???> @ 0x140615720\n; > <???> @ 0x140615dc8\n; > <???> @ 0x140616510\n; > <???> @ 0x140616cd0\n; > <???> @ 0x140617378\n; > <???> @ 0x140617a20\n; > <???> @ 0x140618190\n; > <???> @ 0x140618838\n; > <???> @ 0x140618f80\n; > <???> @ 0x140619a20\n; > <???> @ 0x14061a0c8\n; > <???> @ 0x14061a770\n; > <???> @ 0x14061ae90\n; > <???> @ 0x14061b538\n; > <???> @ 0x14061bc80\n; > <???> @ 0x14061c418\n; > <???> @ 0x14061cac0\n; > <???> @ 0x14061d168\n; > <???> @ 0x14061d810\n; > <???> @ 0x14061deb8\n; > <???> @ 0x14061e560\n; > <???> @ 0x14061ec08\n; > <???> @ 0x14061f418\n; > <???> @ 0x14061fbb0\n; > <???> @ 0x1406cb8f8\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, 0x140190550\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140190555\npush    rdi                                                            ; +0xa, 0x14019055a\nsub     rsp, 20h                                                       ; +0xb, 0x14019055b\nmov     rbx, rcx                                                       ; +0xf, 0x14019055f\nmov     rdi, rdx                                                       ; +0x12, 0x140190562\nadd     rcx, 3C8h                                                      ; +0x15, 0x140190565\ncall    cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x1c, 0x14019056c\ntest    al, al                                                         ; +0x22, 0x140190572\njnz     short loc_140190586                                            ; +0x24, 0x140190574\nmov     word ptr [rbx+368h], 101h                                      ; +0x26, 0x140190576\nmov     byte ptr [rbx+350h], 1                                         ; +0x2f, 0x14019057f\nmov     rdx, rdi                                                       ; +0x36, 0x140190586\nlea     rcx, [rbx+3C8h]                                                ; +0x39, 0x140190589\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x40, 0x140190590\nmovss   xmm0, dword ptr [rdi]                                          ; +0x46, 0x140190596\nlea     rcx, [rbx+4D0h]                                                ; +0x4a, 0x14019059a\ncvtps2pd xmm0, xmm0                                                    ; +0x51, 0x1401905a1\nmov     rdx, rdi                                                       ; +0x54, 0x1401905a4\nmovsd   qword ptr [rbx+3B8h], xmm0                                     ; +0x57, 0x1401905a7\nmovss   xmm1, dword ptr [rdi+4]                                        ; +0x5f, 0x1401905af\ncvtps2pd xmm1, xmm1                                                    ; +0x64, 0x1401905b4\nmovsd   qword ptr [rbx+3C0h], xmm1                                     ; +0x67, 0x1401905b7\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x6f, 0x1401905bf\nmov     rax, [rbx]                                                     ; +0x75, 0x1401905c5\nmov     rdx, rdi                                                       ; +0x78, 0x1401905c8\nmov     rcx, rbx                                                       ; +0x7b, 0x1401905cb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7e, 0x1401905ce\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x83, 0x1401905d3\nadd     rsp, 20h                                                       ; +0x88, 0x1401905d8\npop     rdi                                                            ; +0x8c, 0x1401905dc\njmp     qword ptr [rax+0B8h]                                           ; +0x8d, 0x1401905dd", "xrefs": ["TeleportPortalObject::setStartPos @ 0x1404b232e", "TeleportPortalObject::setStartPos @ 0x1404b238e", "<???> @ 0x140556860", "<???> @ 0x140556fd0", "<???> @ 0x14055e008", "<???> @ 0x14055e688", "<???> @ 0x1405c8720", "<???> @ 0x14060d8b0", "<???> @ 0x14060e200", "<???> @ 0x14060e920", "<???> @ 0x14060f158", "<???> @ 0x14060f800", "<???> @ 0x14060fed0", "<???> @ 0x140610588", "<???> @ 0x140610cd0", "<???> @ 0x140611c68", "<???> @ 0x140612450", "<???> @ 0x140612af8", "<???> @ 0x1406131a0", "<???> @ 0x140613910", "<???> @ 0x140613fb8", "<???> @ 0x1406147a0", "<???> @ 0x140614fd8", "<???> @ 0x140615720", "<???> @ 0x140615dc8", "<???> @ 0x140616510", "<???> @ 0x140616cd0", "<???> @ 0x140617378", "<???> @ 0x140617a20", "<???> @ 0x140618190", "<???> @ 0x140618838", "<???> @ 0x140618f80", "<???> @ 0x140619a20", "<???> @ 0x14061a0c8", "<???> @ 0x14061a770", "<???> @ 0x14061ae90", "<???> @ 0x14061b538", "<???> @ 0x14061bc80", "<???> @ 0x14061c418", "<???> @ 0x14061cac0", "<???> @ 0x14061d168", "<???> @ 0x14061d810", "<???> @ 0x14061deb8", "<???> @ 0x14061e560", "<???> @ 0x14061ec08", "<???> @ 0x14061f418", "<???> @ 0x14061fbb0", "<???> @ 0x1406cb8f8"], "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"}