{"type": "func", "start": 5372999776, "end": 5373000015, "name": "SetupCameraOffsetTrigger::updateMoveCommandPosY", "pseudocode": "// \n// SetupCameraOffsetTrigger::updateMoveCommandPosY from 0x140417860 to 0x14041794f (239 bytes)\n// \n// 5 xrefs:\n// > SetupCameraOffsetTrigger::sliderYChanged @ 0x140417178\n// > SetupCameraOffsetTrigger::textChanged @ 0x1404175ca\n// > <???> @ 0x14069fca0\n// > <???> @ 0x14069fcb0\n// > <???> @ 0x1406d9020\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::updateMoveCommandPosY(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, 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; SetupCameraOffsetTrigger::updateMoveCommandPosY from 0x140417860 to 0x14041794f (239 bytes)\n; \n; 5 xrefs:\n; > SetupCameraOffsetTrigger::sliderYChanged @ 0x140417178\n; > SetupCameraOffsetTrigger::textChanged @ 0x1404175ca\n; > <???> @ 0x14069fca0\n; > <???> @ 0x14069fcb0\n; > <???> @ 0x1406d9020\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, 0x140417860\nsub     rsp, 20h                                                       ; +0x2, 0x140417862\nmov     rdx, [rcx+290h]                                                ; +0x6, 0x140417866\nmov     rdi, rcx                                                       ; +0xd, 0x14041786d\ntest    rdx, rdx                                                       ; +0x10, 0x140417870\njz      short loc_1404178C0                                            ; +0x13, 0x140417873\nadd     rdx, 5E0h                                                      ; +0x15, 0x140417875\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1c, 0x14041787c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x21, 0x140417881\nmovd    xmm2, dword ptr [rdi+404h]                                     ; +0x27, 0x140417887\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x2f, 0x14041788f\nmovss   xmm1, dword ptr [rsp+28h+arg_0]                                ; +0x34, 0x140417894\ncvtdq2ps xmm2, xmm2                                                    ; +0x3a, 0x14041789a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3d, 0x14041789d\nmov     rcx, [rdi+290h]                                                ; +0x43, 0x1404178a3\nmov     rdx, rax                                                       ; +0x4a, 0x1404178aa\nadd     rcx, 5E0h                                                      ; +0x4d, 0x1404178ad\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x54, 0x1404178b4\nadd     rsp, 20h                                                       ; +0x5a, 0x1404178ba\npop     rdi                                                            ; +0x5e, 0x1404178be\nretn                                                                   ; +0x5f, 0x1404178bf\nmov     rcx, [rcx+298h]                                                ; +0x60, 0x1404178c0\nmov     [rsp+28h+arg_18], rsi                                          ; +0x67, 0x1404178c7\nxor     esi, esi                                                       ; +0x6c, 0x1404178cc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6e, 0x1404178ce\ntest    eax, eax                                                       ; +0x74, 0x1404178d4\njz      short loc_140417944                                            ; +0x76, 0x1404178d6\nmov     [rsp+28h+arg_10], rbx                                          ; +0x78, 0x1404178d8\nnop     dword ptr [rax]                                                ; +0x7d, 0x1404178dd\nmov     rcx, [rdi+298h]                                                ; +0x80, 0x1404178e0\nmov     edx, esi                                                       ; +0x87, 0x1404178e7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1404178e9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x8f, 0x1404178ef\nlea     rbx, [rax+5E0h]                                                ; +0x94, 0x1404178f4\nmov     rdx, rbx                                                       ; +0x9b, 0x1404178fb\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9e, 0x1404178fe\nmovd    xmm2, dword ptr [rdi+404h]                                     ; +0xa4, 0x140417904\nlea     rcx, [rsp+28h+arg_8]                                           ; +0xac, 0x14041790c\nmovss   xmm1, dword ptr [rsp+28h+arg_0]                                ; +0xb1, 0x140417911\ncvtdq2ps xmm2, xmm2                                                    ; +0xb7, 0x140417917\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xba, 0x14041791a\nmov     rdx, rax                                                       ; +0xc0, 0x140417920\nmov     rcx, rbx                                                       ; +0xc3, 0x140417923\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc6, 0x140417926\nmov     rcx, [rdi+298h]                                                ; +0xcc, 0x14041792c\ninc     esi                                                            ; +0xd3, 0x140417933\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xd5, 0x140417935\ncmp     esi, eax                                                       ; +0xdb, 0x14041793b\njb      short loc_1404178E0                                            ; +0xdd, 0x14041793d\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xdf, 0x14041793f\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xe4, 0x140417944\nadd     rsp, 20h                                                       ; +0xe9, 0x140417949\npop     rdi                                                            ; +0xed, 0x14041794d\nretn                                                                   ; +0xee, 0x14041794e", "xrefs": ["SetupCameraOffsetTrigger::sliderYChanged @ 0x140417178", "SetupCameraOffsetTrigger::textChanged @ 0x1404175ca", "<???> @ 0x14069fca0", "<???> @ 0x14069fcb0", "<???> @ 0x1406d9020"], "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"}