{"type": "func", "start": 5372999536, "end": 5372999775, "name": "SetupCameraOffsetTrigger::updateMoveCommandPosX", "pseudocode": "// \n// SetupCameraOffsetTrigger::updateMoveCommandPosX from 0x140417770 to 0x14041785f (239 bytes)\n// \n// 5 xrefs:\n// > SetupCameraOffsetTrigger::sliderXChanged @ 0x140417128\n// > SetupCameraOffsetTrigger::textChanged @ 0x1404176ea\n// > <???> @ 0x14069fc7c\n// > <???> @ 0x14069fc8c\n// > <???> @ 0x1406d8ffc\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 SetupCameraOffsetTrigger::updateMoveCommandPosX(SetupCameraOffsetTrigger *a1)\n{\n  double v2; // xmm0_8\n  __int64 v3; // rax\n  unsigned int i; // esi\n  int *p_m_uOrderOfArrival; // rbx\n  double v6; // xmm0_8\n  __int64 v7; // rax\n  cocos2d::CCPoint v8; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( a1->m_gameObject )\n  {\n    v2 = cocos2d::CCPoint::CCPoint(&v8);\n    cocos2d::CCPoint::CCPoint(*(float *)&v2, (float)a1->m_offsetX);\n    cocos2d::CCPoint::operator=(&a1->m_gameObject->m_moveOffset, v3);\n  }\n  else\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i )\n    {\n      p_m_uOrderOfArrival = &cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i)[26].m_uOrderOfArrival;\n      v6 = cocos2d::CCPoint::CCPoint(&v8);\n      cocos2d::CCPoint::CCPoint(*(float *)&v6, (float)a1->m_offsetX);\n      cocos2d::CCPoint::operator=(p_m_uOrderOfArrival, v7);\n    }\n  }\n}", "assembly": "; \n; SetupCameraOffsetTrigger::updateMoveCommandPosX from 0x140417770 to 0x14041785f (239 bytes)\n; \n; 5 xrefs:\n; > SetupCameraOffsetTrigger::sliderXChanged @ 0x140417128\n; > SetupCameraOffsetTrigger::textChanged @ 0x1404176ea\n; > <???> @ 0x14069fc7c\n; > <???> @ 0x14069fc8c\n; > <???> @ 0x1406d8ffc\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\npush    rdi                                                            ; +0x0, 0x140417770\nsub     rsp, 20h                                                       ; +0x2, 0x140417772\nmov     rdx, [rcx+290h]                                                ; +0x6, 0x140417776\nmov     rdi, rcx                                                       ; +0xd, 0x14041777d\ntest    rdx, rdx                                                       ; +0x10, 0x140417780\njz      short loc_1404177D0                                            ; +0x13, 0x140417783\nadd     rdx, 5E0h                                                      ; +0x15, 0x140417785\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1c, 0x14041778c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x21, 0x140417791\nmovd    xmm1, dword ptr [rdi+400h]                                     ; +0x27, 0x140417797\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x2f, 0x14041779f\nmovss   xmm2, [rsp+28h+arg_4]                                          ; +0x34, 0x1404177a4\ncvtdq2ps xmm1, xmm1                                                    ; +0x3a, 0x1404177aa\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3d, 0x1404177ad\nmov     rcx, [rdi+290h]                                                ; +0x43, 0x1404177b3\nmov     rdx, rax                                                       ; +0x4a, 0x1404177ba\nadd     rcx, 5E0h                                                      ; +0x4d, 0x1404177bd\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x54, 0x1404177c4\nadd     rsp, 20h                                                       ; +0x5a, 0x1404177ca\npop     rdi                                                            ; +0x5e, 0x1404177ce\nretn                                                                   ; +0x5f, 0x1404177cf\nmov     rcx, [rcx+298h]                                                ; +0x60, 0x1404177d0\nmov     [rsp+28h+arg_18], rsi                                          ; +0x67, 0x1404177d7\nxor     esi, esi                                                       ; +0x6c, 0x1404177dc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6e, 0x1404177de\ntest    eax, eax                                                       ; +0x74, 0x1404177e4\njz      short loc_140417854                                            ; +0x76, 0x1404177e6\nmov     [rsp+28h+arg_10], rbx                                          ; +0x78, 0x1404177e8\nnop     dword ptr [rax]                                                ; +0x7d, 0x1404177ed\nmov     rcx, [rdi+298h]                                                ; +0x80, 0x1404177f0\nmov     edx, esi                                                       ; +0x87, 0x1404177f7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1404177f9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x8f, 0x1404177ff\nlea     rbx, [rax+5E0h]                                                ; +0x94, 0x140417804\nmov     rdx, rbx                                                       ; +0x9b, 0x14041780b\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9e, 0x14041780e\nmovd    xmm1, dword ptr [rdi+400h]                                     ; +0xa4, 0x140417814\nlea     rcx, [rsp+28h+arg_8]                                           ; +0xac, 0x14041781c\nmovss   xmm2, [rsp+28h+arg_4]                                          ; +0xb1, 0x140417821\ncvtdq2ps xmm1, xmm1                                                    ; +0xb7, 0x140417827\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xba, 0x14041782a\nmov     rdx, rax                                                       ; +0xc0, 0x140417830\nmov     rcx, rbx                                                       ; +0xc3, 0x140417833\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc6, 0x140417836\nmov     rcx, [rdi+298h]                                                ; +0xcc, 0x14041783c\ninc     esi                                                            ; +0xd3, 0x140417843\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xd5, 0x140417845\ncmp     esi, eax                                                       ; +0xdb, 0x14041784b\njb      short loc_1404177F0                                            ; +0xdd, 0x14041784d\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xdf, 0x14041784f\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xe4, 0x140417854\nadd     rsp, 20h                                                       ; +0xe9, 0x140417859\npop     rdi                                                            ; +0xed, 0x14041785d\nretn                                                                   ; +0xee, 0x14041785e", "xrefs": ["SetupCameraOffsetTrigger::sliderXChanged @ 0x140417128", "SetupCameraOffsetTrigger::textChanged @ 0x1404176ea", "<???> @ 0x14069fc7c", "<???> @ 0x14069fc8c", "<???> @ 0x1406d8ffc"], "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"}