{"type": "func", "start": 5373069392, "end": 5373069631, "name": "SetupMGTrigger::updateMoveCommandPosY", "pseudocode": "// \n// SetupMGTrigger::updateMoveCommandPosY from 0x140428850 to 0x14042893f (239 bytes)\n// \n// 5 xrefs:\n// > SetupMGTrigger::sliderYChanged @ 0x1404284f8\n// > SetupMGTrigger::textChanged @ 0x1404287c0\n// > <???> @ 0x1406a0c44\n// > <???> @ 0x1406a0c54\n// > <???> @ 0x1406d983c\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 SetupMGTrigger::updateMoveCommandPosY(SetupMGTrigger *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, v8.x);\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, v8.x);\n      cocos2d::CCPoint::operator=(p_m_uOrderOfArrival, v7);\n    }\n  }\n}", "assembly": "; \n; SetupMGTrigger::updateMoveCommandPosY from 0x140428850 to 0x14042893f (239 bytes)\n; \n; 5 xrefs:\n; > SetupMGTrigger::sliderYChanged @ 0x1404284f8\n; > SetupMGTrigger::textChanged @ 0x1404287c0\n; > <???> @ 0x1406a0c44\n; > <???> @ 0x1406a0c54\n; > <???> @ 0x1406d983c\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, 0x140428850\nsub     rsp, 20h                                                       ; +0x2, 0x140428852\nmov     rdx, [rcx+290h]                                                ; +0x6, 0x140428856\nmov     rdi, rcx                                                       ; +0xd, 0x14042885d\ntest    rdx, rdx                                                       ; +0x10, 0x140428860\njz      short loc_1404288B0                                            ; +0x13, 0x140428863\nadd     rdx, 5E0h                                                      ; +0x15, 0x140428865\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1c, 0x14042886c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x21, 0x140428871\nmovd    xmm2, dword ptr [rdi+3F0h]                                     ; +0x27, 0x140428877\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x2f, 0x14042887f\nmovss   xmm1, dword ptr [rsp+28h+arg_0]                                ; +0x34, 0x140428884\ncvtdq2ps xmm2, xmm2                                                    ; +0x3a, 0x14042888a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3d, 0x14042888d\nmov     rcx, [rdi+290h]                                                ; +0x43, 0x140428893\nmov     rdx, rax                                                       ; +0x4a, 0x14042889a\nadd     rcx, 5E0h                                                      ; +0x4d, 0x14042889d\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x54, 0x1404288a4\nadd     rsp, 20h                                                       ; +0x5a, 0x1404288aa\npop     rdi                                                            ; +0x5e, 0x1404288ae\nretn                                                                   ; +0x5f, 0x1404288af\nmov     rcx, [rcx+298h]                                                ; +0x60, 0x1404288b0\nmov     [rsp+28h+arg_18], rsi                                          ; +0x67, 0x1404288b7\nxor     esi, esi                                                       ; +0x6c, 0x1404288bc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6e, 0x1404288be\ntest    eax, eax                                                       ; +0x74, 0x1404288c4\njz      short loc_140428934                                            ; +0x76, 0x1404288c6\nmov     [rsp+28h+arg_10], rbx                                          ; +0x78, 0x1404288c8\nnop     dword ptr [rax]                                                ; +0x7d, 0x1404288cd\nmov     rcx, [rdi+298h]                                                ; +0x80, 0x1404288d0\nmov     edx, esi                                                       ; +0x87, 0x1404288d7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1404288d9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x8f, 0x1404288df\nlea     rbx, [rax+5E0h]                                                ; +0x94, 0x1404288e4\nmov     rdx, rbx                                                       ; +0x9b, 0x1404288eb\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9e, 0x1404288ee\nmovd    xmm2, dword ptr [rdi+3F0h]                                     ; +0xa4, 0x1404288f4\nlea     rcx, [rsp+28h+arg_8]                                           ; +0xac, 0x1404288fc\nmovss   xmm1, dword ptr [rsp+28h+arg_0]                                ; +0xb1, 0x140428901\ncvtdq2ps xmm2, xmm2                                                    ; +0xb7, 0x140428907\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xba, 0x14042890a\nmov     rdx, rax                                                       ; +0xc0, 0x140428910\nmov     rcx, rbx                                                       ; +0xc3, 0x140428913\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc6, 0x140428916\nmov     rcx, [rdi+298h]                                                ; +0xcc, 0x14042891c\ninc     esi                                                            ; +0xd3, 0x140428923\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xd5, 0x140428925\ncmp     esi, eax                                                       ; +0xdb, 0x14042892b\njb      short loc_1404288D0                                            ; +0xdd, 0x14042892d\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xdf, 0x14042892f\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xe4, 0x140428934\nadd     rsp, 20h                                                       ; +0xe9, 0x140428939\npop     rdi                                                            ; +0xed, 0x14042893d\nretn                                                                   ; +0xee, 0x14042893e", "xrefs": ["SetupMGTrigger::sliderYChanged @ 0x1404284f8", "SetupMGTrigger::textChanged @ 0x1404287c0", "<???> @ 0x1406a0c44", "<???> @ 0x1406a0c54", "<???> @ 0x1406d983c"], "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"}