{"type": "func", "start": 4297487728, "end": 4297487854, "name": "GJMapObject::moveFinished", "pseudocode": "// \n// GJMapObject::moveFinished from 0x100267570 to 0x1002675ee (126 bytes)\n// \n// 1 xrefs:\n// > GJMapObject::moveMonster @ 0x10026751d\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 __fastcall GJMapObject::moveFinished(GJMapObject *a1)\n{\n  float v1; // xmm0_4\n  timeb v2; // [rsp+0h] [rbp-20h] BYREF\n  double v3; // [rsp+10h] [rbp-10h]\n\n  a1->m_monsterMoving = 0;\n  ftime(&v2);\n  v3 = (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0;\n  v1 = (float)((float)((float)rand() * 4.6566129e-10) * 5.0) + v3;\n  a1->m_moveStopTime = v1;\n}", "assembly": "; \n; GJMapObject::moveFinished from 0x100267570 to 0x1002675ee (126 bytes)\n; \n; 1 xrefs:\n; > GJMapObject::moveMonster @ 0x10026751d\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    rbp                                                            ; +0x0, 0x100267570\nmov     rbp, rsp                                                       ; +0x1, 0x100267571\npush    rbx                                                            ; +0x4, 0x100267574\nsub     rsp, 18h                                                       ; +0x5, 0x100267575\nmov     rbx, rdi                                                       ; +0x9, 0x100267579\nmov     byte ptr [rdi+15Dh], 0                                         ; +0xc, 0x10026757c\nlea     rdi, [rbp+var_20]; timeb *                                     ; +0x13, 0x100267583\ncall    _ftime                                                         ; +0x17, 0x100267587\nmovzx   eax, [rbp+var_20.millitm]                                      ; +0x1c, 0x10026758c\nmov     rcx, [rbp+var_20.time]                                         ; +0x20, 0x100267590\nand     ecx, 0FFFFFh                                                   ; +0x24, 0x100267594\nimul    rcx, 3E8h                                                      ; +0x2a, 0x10026759a\nadd     rcx, rax                                                       ; +0x31, 0x1002675a1\ncvtsi2sd xmm0, rcx                                                     ; +0x34, 0x1002675a4\ndivsd   xmm0, cs:qword_100815208                                       ; +0x39, 0x1002675a9\nmovsd   [rbp+var_10], xmm0                                             ; +0x41, 0x1002675b1\ncall    _rand                                                          ; +0x46, 0x1002675b6\nxorps   xmm0, xmm0                                                     ; +0x4b, 0x1002675bb\ncvtsi2ss xmm0, eax                                                     ; +0x4e, 0x1002675be\nmulss   xmm0, cs:dword_100815710                                       ; +0x52, 0x1002675c2\nmulss   xmm0, cs:flt_100815088                                         ; +0x5a, 0x1002675ca\ncvtss2sd xmm0, xmm0                                                    ; +0x62, 0x1002675d2\naddsd   xmm0, [rbp+var_10]                                             ; +0x66, 0x1002675d6\ncvtsd2ss xmm0, xmm0                                                    ; +0x6b, 0x1002675db\nmovss   dword ptr [rbx+160h], xmm0                                     ; +0x6f, 0x1002675df\nadd     rsp, 18h                                                       ; +0x77, 0x1002675e7\npop     rbx                                                            ; +0x7b, 0x1002675eb\npop     rbp                                                            ; +0x7c, 0x1002675ec\nretn                                                                   ; +0x7d, 0x1002675ed", "xrefs": ["GJMapObject::moveMonster @ 0x10026751d"], "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"}