{"type": "func", "start": 5298176, "end": 5298240, "name": "GJMapObject::moveFinished", "pseudocode": "// \n// GJMapObject::moveFinished from 0x50d800 to 0x50d840 (64 bytes)\n// \n// 1 xrefs:\n// > GJMapObject::startMonsterJumpLoop @ 0x50e214\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 GJMapObject::moveFinished(GJMapObject *a1)\n{\n  float v1; // r1\n  float v2; // r2\n  double v3; // d0\n  float v5; // s16\n\n  a1->m_monsterMoving = 0;\n  sub_50D7B0((int)a1, v1, v2, 0);\n  v5 = v3 + (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 5.0);\n  a1->m_moveStopTime = v5;\n}", "assembly": "; \n; GJMapObject::moveFinished from 0x50d800 to 0x50d840 (64 bytes)\n; \n; 1 xrefs:\n; > GJMapObject::startMonsterJumpLoop @ 0x50e214\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            {R4,LR}                                                ; +0x0, 0x50d800\nMOVS            R3, #0                                                 ; +0x2, 0x50d802\nVPUSH           {D8}                                                   ; +0x4, 0x50d804\nMOV             R4, R0                                                 ; +0x8, 0x50d808\nSTRB.W          R3, [R0,#0x121]                                        ; +0xa, 0x50d80a\nBL              sub_50D7B0                                             ; +0xe, 0x50d80e\nVMOV.F64        D8, D0                                                 ; +0x12, 0x50d812\nBLX             rand                                                   ; +0x16, 0x50d816\nVMOV.F32        S14, #5.0                                              ; +0x1a, 0x50d81a\nVMOV            S15, R0                                                ; +0x1e, 0x50d81e\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x22, 0x50d822\nVMUL.F32        S14, S15, S14                                          ; +0x26, 0x50d826\nVCVT.F64.F32    D7, S14                                                ; +0x2a, 0x50d82a\nVADD.F64        D8, D8, D7                                             ; +0x2e, 0x50d82e\nVCVT.F32.F64    S16, D8                                                ; +0x32, 0x50d832\nVSTR            S16, [R4,#0x124]                                       ; +0x36, 0x50d836\nVPOP            {D8}                                                   ; +0x3a, 0x50d83a\nPOP             {R4,PC}                                                ; +0x3e, 0x50d83e", "xrefs": ["GJMapObject::startMonsterJumpLoop @ 0x50e214"], "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"}